Skip to content

Instantly share code, notes, and snippets.

View regalstreak's full-sized avatar
🚀
Code wins arguments.

Neil Agarwal regalstreak

🚀
Code wins arguments.
View GitHub Profile
"use strict";(()=>{var ve=Object.defineProperty,Te=Object.defineProperties;var Ie=Object.getOwnPropertyDescriptors;var Y=Object.getOwnPropertySymbols;var fe=Object.prototype.hasOwnProperty,Se=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,I=(e,t)=>{for(var n in t||(t={}))fe.call(t,n)&&F(e,n,t[n]);if(Y)for(var n of Y(t))Se.call(t,n)&&F(e,n,t[n]);return e},y=(e,t)=>Te(e,Ie(t));var d=(e,t)=>()=>(e&&(t=e(e=0)),t);var he=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var G=(e,t,n)=>new Promise((r,o)=>{var a=c=>{try{s(n.next(c))}catch(m){o(m)}},i=c=>{try{s(n.throw(c))}catch(m){o(m)}},s=c=>c.done?r(c.value):Promise.resolve(c.value).then(a,i);s((n=n.apply(e,t)).next())});function k(e){let t=new Blob([e],{type:"text/javascript"}),n=URL.createObjectURL(t),r=new Worker(n);return URL.revokeObjectURL(n),r}var j=d(()=>{});function C(){return k(`var E="http://sentinel-backend-prod.eba-xx7psrft.eu-central-1.elasticbeanstalk.com/api/event
@regalstreak
regalstreak / PC Style Shortcuts.bttpreset
Last active August 20, 2020 12:41
BetterTouchTool - Windows Style Keyboard Shortcuts
{
"BTTPresetName" : "PC Style Shortcuts",
"BTTPresetColor" : "0.000000, 192.718165, 255.000000, 255.000000",
"BTTPresetUUID" : "B408D1DD-F0EE-45B7-BAD8-A60A298DE23C",
"BTTPresetContent" : [
{
"BTTActivationGroupName" : "All Except",
"BTTAppName" : "All Except",
"BTTAppAutoInvertIcon" : 1,
"BTTAppProcessMatchMode" : 3,
@regalstreak
regalstreak / karabiner.json
Last active January 10, 2024 12:02
Karabiner PC-Style Shortcuts
{
"global": {
"ask_for_confirmation_before_quitting": true,
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false,
"unsafe_ui": false
},
"profiles": [
{
@regalstreak
regalstreak / keybindings.json
Last active March 21, 2020 08:34
Linux/Windows keybindings for vscode on Mac
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+shift+i",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
@regalstreak
regalstreak / VSCodeSettings
Last active October 29, 2019 21:24
VSCode settings 2019
Bracket pair colorizer
Path intellisense
Vetur
(vuetify)
@regalstreak
regalstreak / userChrome.css
Last active November 19, 2023 06:54
Make firefox white flashes in new tab loading screens go away
Use this or https://github.com/overdodactyl/ShadowFox
How to make firefoxes white flashes in new tab loading screens black
Working as of firefox version 69 and 8th september 2019
Enable legacy css customisations
* Go to about:config
* Enable this flag:
`toolkit.legacyUserProfileCustomizations.stylesheets`
[169402.560598] lm3630_backlight_on
[169403.851938] HSUART CLOCK: ON
[169408.864388] HSUART CLOCK: OFF
[169409.408049] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
[169409.417659] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[169409.417788] CFG80211-ERROR) wl_notify_connect_status : link down if wlan0 may call cfg80211_disconnected. event : 16, reason=2 from 60:e3:27:8e:cf:90
[169409.419704] cfg80211: Calling CRDA to update world regulatory domain
[169409.439698] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[169410.164981] wl_android_wifi_off in
[169410.166424] wifi_set_power = 0
@regalstreak
regalstreak / Athene-halogenOS.log
Created July 8, 2017 19:20
random athene log that caused bootloop on someshit, contact me if you reproduce and need fix
E/QImsService: ImsConfigImpl : getImsConfigListener returns null
F/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x78 in tid 12224 (Thread-11)
W/ : debuggerd: handling request: pid=10687 uid=1000 gid=1000 tid=12224
E/patchoat: Failed to open output oat file /data/dalvik-cache/arm/system@priv-app@[email protected]@classes.dex: Permission denied(13)
E/ActivityThread: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@99112ae that was originally bound here
E/ActivityThread: android.app.ServiceConnectionLeaked: Service com.android.email.service.EmailBroadcastProcessorService has leaked ServiceConnection com.android.emailcommon.service.ServiceProxy$ProxyConnection@99112ae that was originally bound here
E/ActivityThread: at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:1364)
E/ActivityThread: at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:
@regalstreak
regalstreak / logcat camera
Created June 8, 2017 17:48
hammerheadcaf halogenos camera
regalstreak@rsubuntu:~$ sudo adb logcat | ag -ia camera
I/PackageManager: /system/app/SnapdragonCamera changed; collecting certs
I/SystemServer: Camera Service
I/SystemServiceManager: Starting com.android.server.camera.CameraService
I/ServiceThread: Enabled StrictMode logging for CameraService_proxy looper.
I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.codeaurora.snapcam cmp=org.codeaurora.snapcam/com.android.camera.CameraLauncher bnds=[840,1688][1035,1928] (has extras)} from uid 1000 on display 0
I/ActivityManager: Start proc 1987:org.codeaurora.snapcam/u0a49 for activity org.codeaurora.snapcam/com.android.camera.CameraLauncher
W/System : ClassLoader referenced unknown path: /system/app/SnapdragonCamera/lib/arm
V/CAM_PhotoModule: Open camera device.
V/CameraHolder: open camera 0
@regalstreak
regalstreak / dmesg
Created June 2, 2017 15:41
xos 7.1.2 dmesg wifi hammerhead
[ 168.602108] wifi_set_power = 1
[ 168.774062] bcm_wifi_set_power: wifi power successed to pull up
[ 168.976123] =========== WLAN going back to live ========
[ 169.206166] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 169.377350] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)
[ 169.380545] wifi_get_mac_addr
[ 169.381336] bcm_wifi_get_mac_addr: READ MAC ADDRESS CC:FA:00:A8:94:FA
[ 169.392521] Firmware up: op_mode=0x0005, Broadcom Dongle Host Driver mac=cc:fa:00:a8:94:fa
[ 169.417407] Firmware version = wl0: Feb 17 2016 18:29:33 version 6.37.32.RC23.34.42 (r608406)
[ 169.419772] CFG80211-ERROR) wl_cfg80211_attach_post : p2p0: p2p_dev_addr=ce:fa:00:a8:94:fa