- Text Content Generator - http://www.lipsum.com
- Favicon Generator - http://tools.dynamicdrive.com/favicon
- Data Generator - https://mockaroo.com/
- Mobile Mockup Generator - https://mockuphone.com
- Logo Generator - https://www.logaster.com
- UUID Generator - https://www.uuidgenerator.net/
- Hash Generator - https://passwordsgenerator.net/sha256-hash-generator/
- Ultimate Code Generator - https://webcode.tools/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Javascript libraries | |
Particles.js — A library for creating beautiful floating particles on a web page | |
Three.js — A library for creating 3d objects and spaces on a web page | |
Fullpage.js — Easy to implement full page scroll feature | |
Typed.js — Typewriter effect | |
Waypoints.js — Trigger a function when you scroll to an element |
As configured in my dotfiles.
start new:
tmux
start new with session name:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Steps-- | |
1. Connect ssh to ec2 instance. | |
2. Become the super user after executing the command | |
sudo -s | |
3. Type the following commands to install vncserver: | |
sudo apt-get install ubuntu-desktop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mixin hover-active { | |
&:hover { | |
.no-touch & { | |
@content; | |
} | |
} | |
&:active { | |
.touch & { | |
@content; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteRule ^index\.php$ - [L] | |
RewriteRule (.*) ./index.php?id=$1 [L] | |
</IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am daxdax89 on github. | |
* I am daxdax89 (https://keybase.io/daxdax89) on keybase. | |
* I have a public key ASBWE42qcuUe_9rrXmIJlsfYtPpjZwLJVQS3dYrsO1P-2wo | |
To claim this, I am signing this object: |
Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use this code snippet in your app. | |
// If you need more information about configurations or implementing the sample code, visit the AWS docs: | |
// https://aws.amazon.com/developers/getting-started/nodejs/ | |
// Load the AWS SDK | |
var AWS = require('aws-sdk'), | |
region = "us-east-1", | |
secretName = "project-name-api-key", | |
secret, | |
decodedBinarySecret; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Change your database RDS instance security group to allow your machine to access it. | |
* Add your ip to the security group to acces the instance via Postgres. | |
2. Make a copy of the database using pg_dump | |
* ```$ pg_dump -h <public dns> -U <my username> -f <name of dump file .sql> <name of my database>``` | |
* you will be asked for postgressql password. | |
* a dump file(.sql) will be created | |
3. Restore that dump file to your local database. | |
* but you might need to drop the database and create it first | |
* ```$ psql -U <postgresql username> -d <database name> -f <dump file that you want to restore>``` | |
* the database is restored |