-
FAR (Fix (NieR) Automata Resolution) -- Required by HD Texture Pack.
Discover gists
This file contains 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
/** | |
* ABOUT | |
* | |
* This is a Twitter NO-API/Dependency-Free follower sniffer and auto-blocker. | |
* | |
* This function performs automatic bulk blocking with NO-API | |
* and NO-external-dependencies to run. You must run this snippet | |
* directly on your Console, it will sniff your followers list | |
* search for previous given keywords, if found on username or description, | |
* the user will be automatically blocked. |
This file contains 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 { integer, sqliteTableCreator, text } from 'drizzle-orm/sqlite-core' | |
const sqliteTable = (tenant?: string) => | |
sqliteTableCreator(name => (tenant ? `${tenant}_${name}` : name)) | |
export const users = sqliteTable()('users', { | |
id: integer('id', { mode: 'number' }).primaryKey({ autoIncrement: true }), | |
name: text('name'), | |
}) |
- Go to
https://twitter.com/YOUR_USER_NAME/following
- Open the Developer Console. (COMMAND+ALT+I on Mac)
- Paste this into the Developer Console and run it
// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)
// https://gist.github.com/JamieMason/7580315
//
This file contains 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
""" | |
Json Schema to Django Model | |
""" | |
import json | |
import argparse | |
import logging | |
import os | |
def determine_model_name(model_id=None, filename=None): |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
List of freely available resources to study computer graphics programming.
This file contains 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
/** | |
* HOWTO: Copy whole file, open devtools on page (F12 / Ctrl + Shift + i) and paste it into the console | |
* Chrome might ask you to allow downloading multiple images. | |
*/ | |
// credits for forceDownload: https://stackoverflow.com/a/49886131/8463645 | |
function forceDownload(url, fileName){ | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET", url, true); | |
xhr.responseType = "blob"; |
NewerOlder