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
const Model = require('@ninetynine/node-models') | |
class User extends Model { | |
get fillables () { | |
return [ | |
'github_id', | |
'github_token', | |
'login', | |
'email', | |
'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
find / -regex “.*\.\(pem\|p12\|pfx\|pkcs12\|crl\|crt\|der\|cert\|cer\|key\|csr\)" > ~/Desktop/log | |
cat ~/Desktop/log | xargs -I % echo cp % /Volume/restricted/pem |
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
# curl -sfLS http://delete.remoteless.branches.sh | sh | |
git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done |
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
import { NgModule } from '@angular/core'; | |
import { ComponentsModule } from './components/components.module'; | |
import { RoutesModule } from './components/routes.module'; | |
import { AppComponent } from './app.component'; | |
@NgModule({ | |
imports: [ComponentsModule, RoutesModule], | |
declarations: [AppComponent], | |
bootstrap: [AppComponent] | |
}) |
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
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"project": { | |
"name": "nine" | |
}, | |
"apps": [ | |
{ | |
"root": "src", | |
"outDir": "dist", | |
"assets": [ |
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
.system-font { | |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; | |
} |
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
<?php | |
class Converter | |
{ | |
/** @var string $file_path */ | |
protected $file_path; | |
/** | |
* @param string $file_path | |
*/ |
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
@font-face{ | |
font-family: "Gotham SSm A"; | |
src: url(data:application/x-font-woff;base64,d09GRgABAAAAAGouABIAAAAA3TwAAQAAAABn/AAAAjIAAAarAAAAAAAAAABHREVGAABfUAAAAB4AAAAgAQwABUdQT1MAAF9wAAAILgAAHTLmkqBOR1NVQgAAZ6AAAABaAAAAgOo0LbVPUy8yAAACCAAAAE4AAABgW99XdWNtYXAAAA1oAAACZgAAA1iBBKFQY3Z0IAAAEdAAAABOAAAATgNZCk1mcGdtAAAP0AAAAQIAAAFzBlmcN2dhc3AAAF9EAAAADAAAAAwAFAAOZ2x5ZgAAE+AAAESqAACPPKFTqktoZG14AAAEeAAACO8AABOgQkiZw2hlYWQAAAGUAAAANAAAADb+/uTZaGhlYQAAAcgAAAAgAAAAJAgbBH9obXR4AAACWAAAAiAAAANg+4xAqWxvY2EAABIgAAABwAAAAcBVZXgkbWF4cAAAAegAAAAgAAAAIAMAAnxuYW1lAABYjAAABLkAAAwYXW/oGHBvc3QAAF1IAAAB+QAAAqOaab3GcHJlcAAAENQAAAD6AAABfrXGiCB42mNgZGBgYPQ5U/29eGk8v81XBnnmF0ARhrM7V8nC6P8f//OwpDM/AnI5GJhAogC/rA89eNpjYGRgYD7wX4CBgWXN/4//P7KkMwBFUMBFAKjiB6EAAQAAAN8AzgAQAFgABAABAAAAAAAKAAACAAFUAAIAAXjaY2BmymPUYWBlYGHaw9TFwMDQA6EZ7zIYMfxiQAILGZj+OzAwRMP4HmpuXkBKQVGJWeG/BcMJ5gMMH4D8+SA5JjGmGyA5BiYAzT4O+gAAeNptkktoU0EUhv9z5goqohKoFdwURBEUWqXmgY03qY9oG+MDNSJ1c2uLUbwi2ApdFFRoyUp0pYJQUYiFCqLiphtFqQYsXbix4AMUFFwpFopdGP8ZEoiYe/k4Z848mPlmZA7u |
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
DROP PROCEDURE IF EXISTS `drop_all_tables`; | |
DELIMITER $$ | |
CREATE PROCEDURE `drop_all_tables`() | |
BEGIN | |
DECLARE _done INT DEFAULT FALSE; | |
DECLARE _tableName VARCHAR(255); | |
DECLARE _cursor CURSOR FOR | |
SELECT table_name | |
FROM information_schema.TABLES |
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
// Margin classes | |
// ------------------------- | |
@from : 0; | |
@to : 50; | |
.loop(@index) when(@index =< @to) { | |
.m-t-@{index} { | |
margin-top: unit(@index, px); | |
} |