- VLC – media player for videos
- GIMP – Photoshop alternative for Linux
- Pinta – Paint alternative in Linux
- Calibre – eBook management tool
- Chromium – Open Source web browser
- Kazam – Screen recorder tool
- Gdebi – Lightweight package installer for .deb packages
- Spotify – For streaming music
- Skype – For video messaging
- Kdenlive – Video editor for Linux
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
#-*- coding:utf-8 -*- | |
import json | |
from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
from selenium.common.exceptions import NoSuchElementException | |
def find_element_by_css_selector(driver, css_selector): | |
try: | |
return driver.find_element_by_css_selector(css_selector) |
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
JAVA_ARGS="-Dhudson.security.HudsonPrivateSecurityRealm.ID_REGEX=\"^[\\w\\._-]+$\"" |
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
#include <stdlib.h> | |
#include <string.h> | |
static void swap(int *a, int *b) { | |
if (a != b) { | |
int c = *a; | |
*a = *b; | |
*b = c; | |
} | |
} |
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
#define STATIC_ASSERT(e) \ | |
typedef char __static_assert[(e) ? 1 : -1] |
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
/* ref: https://apps.topcoder.com/forums/?module=Thread&threadID=670165&start=0 */ | |
// Abbreviations for data types which occur most frequently in TopCoder problems: | |
typedef long long LL; | |
typedef long double LD; | |
typedef vector<int> VI; | |
typedef vector<string> VS; | |
typedef pair<int,int> PII; | |
// There are two common versions of FOR macros: |
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
REM download authroot.stl from http://ctldl.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootstl.cab | |
certutil -addstore -f root authroot.stl |
NewerOlder