##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/.git
##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/.git
Error
The authenticity of host 'github.com (140.82.113.4)' can't be established.
Fix
ssh-keyscan github.com >> ~/.ssh/known_hosts| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| $.cleanString = function(testString) { | |
| var numericString = testString.replace(/-/gi," "); | |
| // .replace() uses regular expression. In this case, its replaceing '-' with ' '. | |
| return numericString; | |
| } | |
| var question = "Sample-text-with-some-dashes"; | |
| var cleaned = $.cleanString(question); |
| /** | |
| * Remove acentos de caracteres | |
| * @param {String} stringComAcento [string que contem os acentos] | |
| * @return {String} [string sem acentos] | |
| */ | |
| function removerAcentos( newStringComAcento ) { | |
| var string = newStringComAcento; | |
| var mapaAcentosHex = { | |
| a : /[\xE0-\xE6]/g, | |
| e : /[\xE8-\xEB]/g, |
| /** | |
| * Basic example to pass values between parent and child components in React | |
| * Seems to be in line with this | |
| * http://stackoverflow.com/questions/24147331/react-the-right-way-to-pass-form-element-state-to-sibling-parent-elements | |
| * Now I have the state in parent and child. Is that good or bad? Why would I need it in child? | |
| * Could probably take that out | |
| * */ | |
| class Parent extends React.Component { | |
| constructor(props) { | |
| super(props); |
| document.getElementsByTagName('button')[0].onclick = function () { | |
| scrollTo(document.body, 0, 1250); | |
| } | |
| function scrollTo(element, to, duration) { | |
| var start = element.scrollTop, | |
| change = to - start, | |
| currentTime = 0, | |
| increment = 20; | |
| <?php | |
| function footer_scripts() { | |
| if(is_page('faca-sua-parte-dicas-de-como-votar-bem')) { | |
| wp_enqueue_script( 'filter', get_stylesheet_directory_uri() . '/dist/assets/myDev/js/view/dicas.js', array(), null, true ); | |
| } | |
| wp_localize_script( 'filter', 'wpAjax', array( 'ajaxurl'=>admin_url('admin-ajax.php') ) ); | |
| } | |
| add_action( 'wp_enqueue_scripts', 'footer_scripts', 1 ); |
| Acabei de chegar, não me vem mais nada, a caminho do bar, onde dá pra pensar? | |
| Vivo entrelaçado, fiapos de pensamento me enibem até eu me acalmar. | |
| REFRÃO | |
| Pensei em um caminho do qual pudesse me lembrar, mas hoje está tão tarde que não, vou me entregar | |
| ao abalo emocional de carga que insiste em continuar, | |
| ao abalo emocional de carga que insiste em me assombrar... | |
| SOLO DE GUITARRA DESTRUIDOR ------------------- |