Lost the root/admin password? You can reset it using the command-line. Recipe adapted from gitlab issue #308.
# start the console
sudo gitlab-rails console| //FightCode can only understand your robot | |
| //if its class is called Robot | |
| var Robot = function(robot) { | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; | |
| robot.ahead(100); |
| // Random number from interval | |
| function randomFromInterval(from,to) { | |
| return Math.floor(Math.random()*(to-from+1)+from); | |
| } | |
| //FightCode can only understand your robot | |
| //if its class is called Robot | |
| var Robot = function(robot) { | |
| this.i = randomFromInterval(500,1000); | |
| }; |
| var Robot = function(robot) { | |
| robot.ignore('onScannedRobot'); | |
| robot.rotateCannon(-90); | |
| robot.listen('onScannedRobot'); | |
| }; | |
| Robot.prototype.onIdle = function(ev) { | |
| var robot = ev.robot; |
| Um fork do gist de configuração (https://gist.github.com/phackwer) do Sublime Text 3 para funcionar similar ao Netbeans. | |
| Segue relação dos plugins que estou utilizando com o Sublime, bem como minhas configurações: | |
| O primeiro package a instalar é o Package Control. A partir dele é possível intalar todos os outros pacotes executando Ctrl+Shift+P (ou Cmd para quem usa Mac), e buscando por "Package Control:Install Package". | |
| Para instalar o Package Control, execute as instruções contidas nesta página: | |
| https://packagecontrol.io/installation | |
| Agora, chame o comando de instalação de pacotes e instale os seguintes pacotes. |
| Vamos criar um servidor Composer privado utilizando nossos repositórios svn como componentes/projetos. | |
| Vamos usar como exemplo o caminho: /var/www/composer-server | |
| URL do nosso server: http://composer.meuhost.com.br:4680 | |
| E os componentes/projetos: | |
| http://svn.meuhost.com.br/gerador-pdf/trunk | |
| http://svn.meuhost.com.br/rest-client/trunk | |
| https://github.com/Seldaek/monolog/ | |
| ################# |
| <?php | |
| $currency_symbols = array( | |
| 'AED' => 'د.إ', // ? | |
| 'AFN' => 'Af', | |
| 'ALL' => 'Lek', | |
| 'AMD' => '', | |
| 'ANG' => 'ƒ', | |
| 'AOA' => 'Kz', // ? | |
| 'ARS' => '$', | |
| 'AUD' => '$', |
| AF - Afghanistan | |
| AL - Albania | |
| DZ - Algeria | |
| AS - American Samoa | |
| AD - Andorra | |
| AO - Angola | |
| AI - Anguilla | |
| AQ - Antarctica | |
| AG - Antigua and Barbuda | |
| AR - Argentina |
Lost the root/admin password? You can reset it using the command-line. Recipe adapted from gitlab issue #308.
# start the console
sudo gitlab-rails console| IE6 Only | |
| ================== | |
| _selector {...} | |
| IE6 & IE7 | |
| ================== | |
| *html or { _property: } | |
| IE7 Only | |
| ================== |
| https://www.axllent.org/docs/view/nodejs-service-with-systemd/ |