-
Access main menu:
Alt
+F1
-
Open Terminal:
�Ctrl
+Alt
+T
-
Fullscreen window toggle:
F11
-
Package manager
apt-get
intro and handy stuff
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 | |
# | |
# Copyright (C) 2010 Brady Miller <brady@sparmy.com> | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# |
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
<?php | |
// src/Acme/DemoBundle/Form/ExampleType.php | |
namespace Acme\DemoBundle\Form; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Acme\DemoBundle\Form\Type\FieldsetType; | |
class ExampleType extends AbstractType { |
This is a supplement to the official Phabricator Installation Guide, because their guide will leave you with all kinds of permission and config errors and ~15,000 setup issues on startup.
# apt-get install mercurial subversion python-pygments sendmail imagemagick
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
#!/usr/bin/env python | |
# | |
# tool to parse JFFS2 images | |
# and more importantly, guess the erase block size | |
# | |
# 2015.10.19 darell tan | |
# | |
from struct import unpack | |
from argparse import ArgumentParser |
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 PyQt5.QtCore import * | |
from PyQt5.QtWidgets import * | |
from itertools import count, islice | |
class Threaded(QObject): | |
result=pyqtSignal(int) | |
def __init__(self, parent=None, **kwargs): | |
super().__init__(parent, **kwargs) |
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
#!/usr/bin/env python3 | |
""" | |
Show and adjust display parameters on an Iiyama ProLite XB2483HSU-B1 monitor | |
Requirements: | |
- mentioned monitor (27' should also work) with DDC/CI setting on | |
- Windows Vista+ | |
- Python 3 |
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
# this function grabs the iso image from the user supplied http location. | |
function get-isoimage{ | |
[CmdletBinding()] | |
param( | |
$uri, | |
$workingfolder | |
) | |
begin{ | |
$file_name = $uri -replace "http://[\s\S]+\/([\s\S]+\.iso)$",'$1' | |
$out_file = Join-Path $workingfolder -ChildPath $file_name |
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
Function New-WPFMessageBox { | |
# For examples for use, see my blog: | |
# https://smsagent.wordpress.com/2017/08/24/a-customisable-wpf-messagebox-for-powershell/ | |
# CHANGES | |
# 2017-09-11 - Added some required assemblies in the dynamic parameters to avoid errors when run from the PS console host. | |
# Define Parameters | |
[CmdletBinding()] |
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
/*AGENT_SHEET included by CustomCSSforFx*/ | |
/* Draw a line over selected tab. See https://raw.githubusercontent.com/mozilla/gecko-dev/master/browser/base/content/tabbrowser-tab.js for structure */ | |
/* https://www.reddit.com/r/FirefoxCSS/comments/c5aqyn/my_userchromecss_customizations/ for funky styling */ | |
.tabbrowser-tab:not([usercontextid]) .tab-content[selected="true"], | |
.tabbrowser-tab[usercontextid] .tab-content[selected="true"] .tab-label-container { | |
background-image: linear-gradient(to bottom,rgba(255,192,0,0),rgba(255,192,153,32)); | |
} | |
.tabbrowser-tab[unread] .tab-label { |
OlderNewer