This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ SERVER PART ] (for desktop, scroll down) | |
sudo apt install -y build-essential libssl-dev libncurses5-dev libpcap-dev git apt-transport-https ca-certificates | |
git config --global core.autocrlf false | |
git config --global core.longpaths true | |
// NodeJS | |
cd /tmp | |
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh | |
sudo bash nodesource_setup.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Write your python script | |
Check -> wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. | |
Helper for wxPython http://sourceforge.net/projects/wxformbuilder/ (a must for beginners) | |
2. type the following command cd c:\python27\scripts press enter, this should be where your pip.exe file is located. | |
Once you are in this directory type pip install pyinstaller press enter | |
google pywin32, install the 32/64 bit variant. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install pdfminer | |
for text replace HTMLConverter to TEXTConverter.... | |
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter | |
from pdfminer.layout import LAParams | |
from pdfminer.pdfpage import PDFPage | |
from pdfminer.converter import HTMLConverter | |
from cgi import escape |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<resources> | |
<!-- A light Holo shade of blue --> | |
<color name="holo_blue_light">#ff33b5e5</color> | |
<!-- A light Holo shade of gray --> | |
<color name="holo_gray_light">#33999999</color> | |
<!-- A light Holo shade of green --> | |
<color name="holo_green_light">#ff99cc00</color> | |
<!-- A light Holo shade of red --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compile('de.keyboardsurfer.android.widget:crouton:1.8.5@aar') { | |
exclude group: 'com.google.android', module: 'support-v4' | |
} | |
https://github.com/mikepenz/Android-Iconics | |
===================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
# Inspired from https://gist.github.com/faleev/3435377 | |
# Remove any existing packages: | |
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev | |
# Get the dependencies (Ubuntu Server or headless users): | |
sudo apt-get update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.classicharmony.testme2; | |
import android.util.Base64; | |
import android.util.Log; | |
import java.io.UnsupportedEncodingException; | |
import java.security.GeneralSecurityException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
import pickle | |
import time | |
driver = webdriver.Firefox() | |
def init(): | |
print "------- initialization -------------" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1. Unobtrusive Android Cafe | |
<color name="colorPrimaryDark">#403835</color> | |
<color name="colorPrimary">#8A7A6B</color> | |
<color name="colorAccent">#403835</color> | |
<color name="windowBackground">#F7F3EE</color> | |
<color name="colorControlNormal">#A79D93</color> | |
<color name="colorControlActivated">#8A7A6B</color> | |
<color name="navbar_color">@color/colorPrimaryDark</color> | |
<item name="colorPrimary">@color/colorPrimary</item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HotKeySet("{ESC}", "Terminate") | |
Opt("SendKeyDelay", 50) | |
ToolTip("XHello Running", screen_height/2, screen_width/2, "XHello", 1) ; ex: 2560 1440 or 1920 1080 etc. | |
SplashTextOn("", "XHello", -1, -1, -1, -1, 33, "", 24) | |
Sleep(3000) | |
SplashOff() | |
Global $MESSAGES[4] = ["whatzup ?", "g morning", "Knock!!!Knock!!!", "8-)"] ; your messages |
OlderNewer