I hereby claim:
- I am ST0LE on github.
- I am gauravkamath (https://keybase.io/gauravkamath) on keybase.
- I have a public key whose fingerprint is AC20 EC1E 4274 DA5F 32E4 4704 B9C9 97B3 05BE A391
To claim this, I am signing this object:
| { | |
| "background": "#282A36", | |
| "black": "#21222C", | |
| "blue": "#F1FA8C", | |
| "brightBlack": "#6272A4", | |
| "brightBlue": "#D6ACFF", | |
| "brightCyan": "#A4FFFF", | |
| "brightGreen": "#69FF94", | |
| "brightPurple": "#FF92DF", | |
| "brightRed": "#FF6E6E", |
| { | |
| "background": "#2C001E", | |
| "black": "#4E9A06", | |
| "blue": "#3465A4", | |
| "brightBlack": "#555753", | |
| "brightBlue": "#729FCF", | |
| "brightCyan": "#34E2E2", | |
| "brightGreen": "#8AE234", | |
| "brightPurple": "#AD7FA8", |
| def popcount(n): | |
| c = 0 | |
| while n != 0: | |
| c += n % 2 | |
| n //= 2 | |
| return c | |
| def popcount_range_naive(n): | |
| return sum(map(popcount, range(n + 1))) |
I hereby claim:
To claim this, I am signing this object:
| Function Find-FirstItem { | |
| [CmdletBinding()] | |
| [Alias("ffi")] | |
| param( | |
| [Parameter(Mandatory, Position = 0)] | |
| [ValidateNotNullOrEmpty()] | |
| [string] $Filter | |
| ) | |
| Get-ChildItem -Recurse -Filter $Filter | Select-Object -First 1 -ExpandProperty FullName | |
| } |
| using System; | |
| using System.Drawing; | |
| using System.Windows.Forms; | |
| namespace MyTrayApp | |
| { | |
| public class SysTrayApp : Form | |
| { | |
| [STAThread] | |
| public static void Main() |
| ; ^ = Ctrl | |
| ; volume up | |
| ^Numpad8::Volume_Up | |
| ; volume down | |
| ^Numpad2::Volume_Down | |
| ; volume mute | |
| ^Numpad0::Volume_Mute |
| alias +jumpthrow "+jump;-attack" | |
| alias -jumpthrow "-jump" | |
| bind mouse3 +jumpthrow | |
| bind mouse5 +voicerecord | |
| alias +fwdjumpthrow "+forward;+jump;-attack" | |
| alias -fwdjumpthrow "-forward;-jump" | |
| bind capslock +fwdjumpthrow | |
| exec buyscript; | |
| alias +djump "+jump; +duck" | |
| alias -djump "-jump; -duck" |
| from collections import Counter | |
| from heapq import heapify, heappop, heappush | |
| s = input() | |
| c = Counter(s) | |
| pq = [(c[k], k, None, None) for k in c] | |
| codes = {} | |
| heapify(pq) | |
| while len(pq) > 1: | |
| r = heappop(pq) |