Skip to content

Instantly share code, notes, and snippets.

View aligos's full-sized avatar

Rahmat Aligos aligos

View GitHub Profile
@aligos
aligos / stafford-gambit.txt
Last active January 23, 2021 08:12
my stafford gambit accepted list
https://www.chess.com/game/live/6314477728
https://www.chess.com/game/live/6319779411
@aligos
aligos / derek-gambit.txt
Last active December 27, 2023 12:41
Derek Gambit
https://www.chess.com/game/live/6263331148
https://www.chess.com/game/live/6331508577
https://www.chess.com/game/live/65797315365
https://www.chess.com/game/live/91128684111
https://www.chess.com/game/live/91198185371
https://www.chess.com/game/live/97419587443
/* eslint no-plusplus: "off" */
import * as d3 from 'd3';
const d3Functor = function functor(v) {
return typeof v === 'function' ? v : () => v;
};
export default () => {
let svg = null;
let point = null;
#!/usr/bin/env ruby
# This git hook will prevent merging specific branches into others
# Put this file in your local repo, in the .git/hooks folder
# and make sure it is executable.
# The name of the file *must* be "prepare-commit-msg" for Git to pick it up.
FORBIDDEN_BRANCHES = ["staging"]
def merge?
Content Loader like Facebook, Grab: https://github.com/kostimarko/rn-content-loader
[
{
"name": "J'S SALON",
"address": "392 Havelock Rd, Grand Copthorne Waterfront Hotel Singapore, Singapore 169663",
},
{
"name": "Leekaja Beauty Salon 이가자 뷰티 살롱",
"address": "333A Orchard Road, #03-13 Mandarin Gallery, Singapore 238867",
},
{
yarn add -D prettier eslint eslint-config-prettier eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-react-native eslint-plugin-standard babel-eslint

Step to run laravel on your local

  1. Pull the git, and select the branch
  2. To run php artisan migrate:status to check whether your local database is inline with the code specify db
  3. If not, run php artisan migrate to run throug all laravel migrations to update your local db
  4. To remember sometimes need to seed, php artisan db:seed whenever (request to export from production server)
  5. Now you can run php artisan serve
  6. To update your client HOST, to your local
#!/bin/bash
# how to run: bash base64.sh YOUR_STRING/SHA1/ETC.
echo "$1" | xxd -r -p | openssl base64

Rahmat (aligos)

GitHub | LinkedIn | Blog

I'm a passionate front-end developer with extensive experience with both mobile & website development. I'm a pixel perfect front end developer also a firm believer in test-driven development, continuous integration and code review, and always strive to write beautiful and elegant code that solves complex problems easily.

Tech I'm learning on: