Skip to content

Instantly share code, notes, and snippets.

@pascalwhoop
pascalwhoop / ComponentInfo.txt
Last active August 11, 2020 20:05
A list of a lot of ComponentInfo strings for some 10k+ applications on the Google Play Market
AutomateIt.mainPackage/AutomateIt.mainPackage.AutomateItMainActivity
AutomateIt.mainPackage/automateItLib.mainPackage.AutomateItMainActivity
AutomateItPro.mainPackage/automateItLib.mainPackage.AutomateItMainActivity
AutomateItPro.mainPackage/automateItLib.mainPackage.MainActivity
Com.sktelecom.minit/Com.sktelecom.minit.IntroActivity
HinKhoj.Dictionary/com.hinkhoj.dictionary.activity.ConfigureActivity
PSB.Droid/md537cd9a14833c7ae877f7f1aebf31611f.SplashScreenActivity
accky.kreved.skrwt.skrwt/accky.kreved.skrwt.skrwt.LaunchScreenActivity
accky.kreved.skrwt.skrwt/accky.kreved.skrwt.skrwt.activity.LaunchScreenActivity
ace.jun.simplecontrol/ace.jun.simplecontrol.MainActivity
@pascalwhoop
pascalwhoop / TestMultipleCoroutines.py
Created June 8, 2018 19:51
shows how multiple coroutines can be used in parallel
import unittest
class TestMultipleCoroutines(unittest.TestCase):
def test_multiple_coroutines(self):
"""A test for myself. Learning how to use coroutines."""
cr = []
received = []
#creating two callables and calling one from other
def callable2():
observation = (yield)
beet import -A -l /tmp/beet.log -q ~/tank/DJing
@pascalwhoop
pascalwhoop / xorg.conf
Created May 9, 2018 08:52
xorg.conf for nvidia without screen tearing on a 4k display and a 1060 6GB nvidia card on Ubuntu running XFCE with compoton
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 390.30 (root@eris-ubt1704-build000) Wed Jan 31 19:29:28 PST 2018
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
@pascalwhoop
pascalwhoop / mint_extended_snippet.tex
Created April 26, 2018 09:41
An extended version of the "minted" snippet for vim-snippets that wraps the source code in a listing and gives it a caption and a label to reference.
snippet "mint(ed)?( (\S+))?" "Minted code typeset" br
\begin{listing}
\begin{minted}[linenos,numbersep=5pt,frame=lines,framesep=2mm]{${1:`!p
snip.rv = match.group(3) if match.group(2) is not None else "language"`}}
${2:${VISUAL:code}}
\end{minted}
\caption{${3:caption name}}
\label{lst:${4:${3/\\\w+\{(.*?)\}|\\(.)|(\w+)|([^\w\\]+)/(?4:_:\L$1$2$3\E)/ga}}}
\end{listing}
$0
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb ftp://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
# avant squeeze : deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb ftp://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
#optionnel :
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free

Keybase proof

I hereby claim:

  • I am pascalwhoop on github.
  • I am pascalwhoop (https://keybase.io/pascalwhoop) on keybase.
  • I have a public key ASA15_CobRaZonY8-AU_TJ-jrvDzoGdf1v9uoSt3xgtGuQo

To claim this, I am signing this object:

<html><head><meta name="viewport" content="width=device-width; height=device-height;"><title>mp3_304.mp3</title><link rel="stylesheet" href="resource://content-accessible/TopLevelVideoDocument.css"><link rel="stylesheet" href="chrome://global/skin/media/TopLevelVideoDocument.css"><script type="text/javascript" src="chrome://global/content/TopLevelVideoDocument.js"></script></head><body><video autoplay="" controls="" style="height: 40px; width: 66%;"></video></body></html>
# coding: utf-8
# # Analysing my Google Searches with Python
# In[60]:
import json
import os
from wordcloud import WordCloud
wordcloud = WordCloud().generate(" ".join(terms_singles))
plt.axis("off")
fig = plt.figure()
fig.set_size_inches(21,9)
# lower max_font_size
wordcloud = WordCloud(max_font_size=80, width=2100, height=900, colormap='prism').generate(" ".join(terms_singles))
plt.imshow(wordcloud, interpolation="bilinear")