Skip to content

Instantly share code, notes, and snippets.

View AndroidKitKat's full-sized avatar
🟣
Yup, that tasted purple.

AndroidKitKat AndroidKitKat

🟣
Yup, that tasted purple.
View GitHub Profile
@AndroidKitKat
AndroidKitKat / swift-apt-repo-install.sh
Last active September 10, 2022 16:44 — forked from leogdion/swift-apt-repo-install.sh
Install script for the Swift Community Apt Repository - https://archive.swiftlang.xyz
#! /bin/bash
#
# Install script for the Swift Community Apt Repository - swiftlang.xyz
#
# check distribution version and infer distro with switch/case
## as all distribution versions have different names we can use this information to infer the distribution name.
check_ver () {
for var in "${SUPPORTED_VER[@]}"
do
@AndroidKitKat
AndroidKitKat / swift-apt-repo-install.sh
Created September 10, 2022 16:38 — forked from futurejones/swift-apt-repo-install.sh
Install script for the Swift Community Apt Repository - https://archive.swiftlang.xyz
#! /bin/bash
#
# Install script for the Swift Community Apt Repository - swiftlang.xyz
#
# check distribution version and infer distro with switch/case
## as all distribution versions have different names we can use this information to infer the distribution name.
check_ver () {
for var in "${SUPPORTED_VER[@]}"
do
@AndroidKitKat
AndroidKitKat / safari_tabs.scpt
Created November 29, 2020 18:02
Count # of Safari tabs open
tell application "Safari"
count every tab of every window
end tell
Human rights in China is always a hotly contested topic. Since 2017, numerous reports have emerged of the Uyghur people being detained in extrajudicial “re-education camps”, subjected to political indoctrination, and sometimes even torture. 2018 estimates place the number of detainees in the hundreds of thousands.
The Uyghurs are not ethnically Chinese but live in China’s so-called autonomous Xinjiang region. The region’s name suggests the Uyghurs have autonomy and self-governance. But similarly to Tibet, Xinjiang is a tightly controlled region of China. After the recent Xinjiang conflict, Beijing has recast the Uyghur ethnic group as a terrorist collective. This has allowed Beijing to justify its transformation of Xinjiang into a surveillance state. There has also been a marked rise of Islamophobia across China.
At least 120,000 members of Kashgar’s Muslim Uyghur minority have been detained in Xinjiang’s re-education camps which aim to change the political thinking of detainees, their identities, and their r

Keybase proof

I hereby claim:

  • I am androidkitkat on github.
  • I am androidkitkat (https://keybase.io/androidkitkat) on keybase.
  • I have a public key ASDAxAnf3bM0r9Db7UX4o2TJNuOX9joEJgFAnxAY6Z7gIQo

To claim this, I am signing this object:

———————————————————————————
This condensed package list strips out all of the default packages and extra information from the package list.
———————————————————————————
com.0neguy.piksel-lite
com.a3tweaks.flipswitch
com.anemonetheming.anemone3
com.chilaxan.cuboid
com.creaturecoding.fabric
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
#!/usr/bin/env python3
import os
# Constants
NITEMS = (1, 10, 100, 1000, 10000, 100000, 1000000, 10000000)
ALPHAS = (0.5, 0.75, 0.9, 1.0, 2.0, 4.0, 8.0, 16.0)
DASHES = '-'*12
/* map.c: separate chaining hash table */
#include "map.h"
/**
* Create map data structure.
* @param capacity Number of buckets in the hash table.
* @param load_factor Maximum load factor before resizing.
* @return Allocated Map structure.
*/
/* entry.c: map entry */
#include "map.h"
/**
* Create entry structure.
* @param key Entry's key.
* @param value Entry's value.
* @param next Reference to next entry.
* @param type Entry's value's type.