-
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
#!/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
<?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 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 { |
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
#!/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
# Default env vars | |
$env:CLUSTER_NAME="k3d-rancher" | |
$env:RANCHER_SERVER_HOSTNAME="rancher.localhost" | |
$env:KUBECONFIG_FILE="${env:CLUSTER_NAME}.yaml" | |
date | |
# Get kubectl and helm | |
choco list --local-only | |
choco install kubernetes-cli -y | |
choco install kubernetes-helm -y |
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
<# | |
.SYNOPSIS | |
Speak text using SSML | |
.DESCRIPTION | |
Speak text using SSML, using built in MS speech synthesis. Will output metadata about result, including any embedded <mark>s. This uses the .NET System.Speech library, which uses the older SAPI5 synthesis system. | |
Based on code from https://github.com/marak/say.js/ |
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 |
OlderNewer