Skip to content

Instantly share code, notes, and snippets.

View itsthatguy's full-sized avatar
✌️
Love.

Kevin Altman itsthatguy

✌️
Love.
View GitHub Profile
@itsthatguy
itsthatguy / dictionaries.js
Last active September 21, 2017 22:07
Makes using arrays that you have zero control over easier to reference values.
var userPreferencesDict = [
'favoriteFood',
'favoriteColor',
'favoriteNumber',
];
var userPreferences = [
'pizza',
'seafoam green',
'42'
var userPreferencesDict = [
'favoriteFood',
'favoriteColor',
'favoriteNumber',
];
var userPreferences = [
'pizza',
'seafoam green',
'42'

Keybase proof

I hereby claim:

  • I am itsthatguy on github.
  • I am itg (https://keybase.io/itg) on keybase.
  • I have a public key ASBm9BLrtS5FjRi7dyvP6GaJ2oGuyibii493227e96uQ3Qo

To claim this, I am signing this object:

###########################################
# General helpers
# - Get octal permissions of 'path(s)'
# alias octal="stat -c '%a %n' $*"
alias octal="stat -f '%A %a %N'"
# - ln command help
alias lnwtf="echo ln -s '[FROM (ie; \$PWD)] [TO (new location)]'"
defmodule FS do
def files(dir) do
Path.wildcard(dir)
end
def file_names(dir) do
dir
|> files
|> Enum.map(fn name_with_extension ->
String.replace(name_with_extension, ~r/\.\w+$/, "")
{
"labels": [
"2022-05-02T21:00:17.000Z",
"2022-05-03T21:19:29.000Z",
"2022-05-04T22:12:47.000Z",
"2022-05-06T01:56:56.000Z",
"2022-05-06T20:32:39.000Z",
"2022-05-09T20:08:01.000Z",
"2022-05-10T21:48:51.000Z",
"2022-05-11T22:44:55.000Z",
@itsthatguy
itsthatguy / ankama-launcher.nix
Created June 2, 2024 23:14 — forked from Zhaith-Izaliel/ankama-launcher.nix
NixOS ankama-launcher package
with import <nixpkgs>{};
let
name = "ankama-launcher";
src = fetchurl {
url = "https://download.ankama.com/launcher/full/linux/x64";
sha256 = ""; # Change for the sha256 you get after running nix-prefetch-url https://download.ankama.com/launcher/full/linux/x64
name = "ankama-launcher.AppImage";
};
@itsthatguy
itsthatguy / patch_notes_generator.ipynb
Created November 27, 2025 01:36
LangChain Patch Notes Generator - Jupyter Notebook
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.