Skip to content

Instantly share code, notes, and snippets.

View tadakoglu's full-sized avatar
🎯
Focusing

Tayfun Adakoğlu tadakoglu

🎯
Focusing
View GitHub Profile
@tadakoglu
tadakoglu / continents.json
Created April 6, 2022 16:07 — forked from cmunns/continents.json
Continental GeoJson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tadakoglu
tadakoglu / continents.json
Created April 6, 2022 16:02 — forked from hrbrmstr/continents.json
Continents GeoJSON
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tadakoglu
tadakoglu / crypto-pbkdf2-example.js
Created April 10, 2019 10:53 — forked from skeggse/crypto-pbkdf2-example.js
Example of using crypto.pbkdf2 to hash and verify passwords asynchronously, while storing the hash and salt in a single combined buffer along with the original hash settings
var crypto = require('crypto');
// larger numbers mean better security, less
var config = {
// size of the generated hash
hashBytes: 32,
// larger salt means hashed passwords are more resistant to rainbow table, but
// you get diminishing returns pretty fast
saltBytes: 16,
// more iterations means an attacker has to take longer to brute force an
@tadakoglu
tadakoglu / remote_url.md
Created April 3, 2019 09:16 — forked from hofnerb/remote_url.md
git remote set-url

Review and Change Remote URL

git remote -v
# View existing remotes

git remote set-url origin https://github.com/user/repo2.git
# Change the 'origin' remote's URL

git remote -v
@tadakoglu
tadakoglu / Angular-cli.md
Last active April 3, 2019 07:49 — forked from cortesben/Angular-cli.md
Bash commands and Angular CLI commands

#Angular-cli oh shit!

https://cli.angular.io/reference.pdf

Commands Description
ng help returns all commands with flags they can take as a param
ng new [project-name] create a brand new angular project with live server BANG!
ng init grabs name from folder that already exist