SSH into Root
$ ssh [email protected]
Change Root Password
package { | |
//import necessary classes | |
import flash.display.Sprite; | |
import flash.display.Graphics; | |
public class Circle extends Sprite { | |
private var canvas:Sprite = new Sprite(); | |
private var gr:Graphics = canvas.graphics; |
SSH into Root
$ ssh [email protected]
Change Root Password
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
http://guides.rubyonrails.org/migrations.html
# rake deploy # Push app to heroku:production, migrate, restarts and tail logs | |
# rake deploy:production # Push app to production, migrate, restarts, tag and tail logs | |
# rake deploy:production:config # production config | |
# rake deploy:production:console # production console | |
# rake deploy:production:logs # production logs | |
# rake deploy:production:ps # production ps | |
# rake deploy:production:releases # production releases | |
# rake deploy:staging # Push app to staging, migrate, restarts, tag and tail logs | |
# rake deploy:staging:config # staging config | |
# rake deploy:staging:console # staging console |
sass-convert -F scss -T sass application_styles.css.scss application_styles.css.sass |
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/ | |
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin | |
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane | |
#!/bin/sh | |
# view here: | |
# https://i.stack.imgur.com/OK3po.png | |
e=$'\e[' | |
for n in {0..7}; do | |
printf "${e}"'38;05;'"${n}"'m%-6s' '('"$n"') ' | |
done |
This recipe is useful for cooking up chained API calls as a result of a single action.
In the below example, a single action called POST_REPO
is dispatched and it's intention is to create a new repostiory on GitHub then update the README with new data after it is created.
For this to happen there are 4 API calls necessary to the GitHub API:
# Update brew | |
brew update | |
# Need postgres | |
brew install postgresql | |
# Install elixir | |
brew install elixir | |
# Install hex package manager |