This file contains hidden or 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
alert("Hi!"); |
This file contains hidden or 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 | |
set -e | |
SPLITSHIT="-----------" | |
DISTRO="artful" | |
VBOXREPO="deb [trusted=yes] http://download.virtualbox.org/virtualbox/debian ${DISTRO} contrib non-free" | |
if [ $VBOX_DEBUGS -ge 0 ] | |
then | |
debug=$VBOX_DEBUGS | |
else |
This file contains hidden or 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
:syntax on | |
set expandtab | |
set shiftwidth=2 | |
set softtabstop=2 | |
set autoindent | |
" ALIASES | |
" Write & run the current selected file in buffer |
This file contains hidden or 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
bit2mbyte() | |
{ | |
file=$1 | |
size=$(ls -l ${file} | awk '{print $5}') | |
calcs=$(expr ${size} / 1024 / 1024) | |
echo -e "\n${file} size: \u001b[44;1m${calcs}\u001b[0m MegaByte\n" | |
} | |
# how to: Use type bit2mbyte $file |
This file contains hidden or 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
#usage: checkmd5 $MD5SUM $fileToCheck | |
function checkmd5() { | |
md5_to_test=$1 | |
md5_from_file=$(md5sum "$2" | cut -d " " -f1) | |
md5_results="Input: $md5_to_test\nFile: $md5_from_file" | |
if [[ $md5_to_test == $md5_from_file ]] | |
then | |
echo -e "\n\e[92mSUCCESS\e[39m\n$md5_results" | |
else |
This file contains hidden or 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
Name: notepadqq | |
%define version 1.3.6 | |
Version: %{version} | |
Release: 1.0%{?dist} | |
Summary: Notepadqq is a text editor designed from developers, for developers. | |
URL: https://github.com/notepadqq/notepadqq | |
License: GPL-3.0 | |
%global debug_package %{nil} | |
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qtwebkit-devel qt5-qtsvg-devel qtchooser | |
Requires: qt5-qtbase qt5-qttools qt5-qtwebkit qt5-qtsvg |
This file contains hidden or 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
[Desktop Entry] | |
Type=Application | |
Encoding=UTF-8 | |
Name=Lightscreen | |
GenericName=Lightscreen | |
GenericName[de]=Lightscreen Screenshot-Tool | |
Comment=Screenshot-tool and uploader | |
Exec=lightscreen | |
Icon=/usr/share/pixmaps/lightscreen.ico | |
Terminal=false |
This file contains hidden or 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
*** screenshot_old.cpp 2018-04-22 18:14:15.969692651 +0200 | |
--- screenshot.cpp 2018-04-22 18:15:57.137990615 +0200 | |
*************** | |
*** 43,48 **** | |
--- 43,49 ---- | |
#ifdef Q_OS_LINUX | |
#include <QX11Info> | |
#include <X11/X.h> | |
+ #undef Success | |
#include <X11/Xlib.h> |
This file contains hidden or 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
Name: lightscreen | |
Version: 2.4.git7782bd5 | |
Release: 1%{?dist} | |
Summary: Simple tool to automate the tedious process of saving and cataloging screenshots | |
URL: https://lightscreen.com.ar/ | |
License: GPLv2 | |
Source0: https://github.com/ckaiser/Lightscreen/archive/7782bd5d68a0c14b06873d3a04929816e337c8a3.zip | |
Source1: https://github.com/ckaiser/UGlobalHotkey/archive/231b10144741b29037f0128bb7a1cd7176529f74.zip | |
Source2: https://github.com/ckaiser/SingleApplication/archive/c6378eec45a5fdf699b4d27fb4be22a190b2a184.zip |
This file contains hidden or 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
if (!document.querySelectorAll) { | |
document.querySelectorAll = function (selectors) { | |
var style = document.createElement('style'), elements = [], element; | |
document.documentElement.firstChild.appendChild(style); | |
document._qsa = []; | |
style.styleSheet.cssText = selectors + '{x-qsa:expression(document._qsa && document._qsa.push(this))}'; | |
window.scrollBy(0, 0); | |
style.parentNode.removeChild(style); |
NewerOlder