by alexander white ©
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
/* | |
* Данный пример иллюстрирует, как можно заполнять таблицу данными, приходящими аякс запросом, | |
* а также как корректно обновлять данные таблицы | |
* | |
* Подробнее: http://www.datatables.net/usage/columns | |
*/ | |
/* | |
* HTML, template |
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 | |
set -x | |
# see: https://help.ubuntu.com/community/LiveCDCustomization | |
# see: https://wiki.ubuntu.com/CustomizeLiveInitrd | |
TMP=${TMP:-/tmp} | |
INITRD=$(readlink -f "$1") | |
INITRDDIR="$TMP/$(basename "$INITRD").d" | |
OFILE=${2:-"$TMP/$(basename "$INITRD")"} |
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
*-------------------------------------------------------------------------- | |
* Model generated by Motega software: | |
* | |
* Modeling Of Tubes Employing Genetic Algorithms | |
* | |
* Models contain 1G resistors from all nodes to earth in order to avoid | |
* floating nodes. Triode and tetrode/pentode models contain a diode for | |
* simulating grid current. | |
* | |
* Non-commercial use is permitted, but at your own risk... This model |
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 | |
# http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast#answer-201018 | |
# 1. Run byzanz-record-window 30 -c output.gif | |
# 2. Go to the window (alt-tab) you want to capture. Click on it. | |
# 3. Wait 10 seconds (hard-coded in $DELAY), in which you prepare for recording. | |
# 4. After the beep (defined in the beep function), byzanz will start. | |
# 5. After 30 seconds (that's the meaning of 30 in step 1), byzanz ends. A beep will be broadcast again. |
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
# Config for GNU GRand Unified Bootloader (GRUB) (2) | |
# /boot/grub2/grub.cfg | |
# or | |
# /boot/grub/grub.cfg | |
# Mostly only 'legacy' CSM/BIOS boot methods currently. | |
# Unable to boot loop entries with Secure Boot | |
# Notes: | |
# Description: | |
# This grub.cfg file was created by Lance http://www.pendrivelinux.com |
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 | |
import time | |
import threading | |
import logging | |
try: | |
import tkinter as tk # Python 3.x | |
import tkinter.scrolledtext as ScrolledText | |
except ImportError: | |
import Tkinter as tk # Python 2.x | |
import ScrolledText |
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
Originall From: Posted 2015-05-29 http://ubwg.net/b/full-list-of-ffmpeg-flags-and-options | |
This is the complete list that’s outputted by ffmpeg when running ffmpeg -h full. | |
usage: ffmpeg [options] [[infile options] -i infile]… {[outfile options] outfile}… | |
Getting help: | |
-h — print basic options | |
-h long — print more options | |
-h full — print all options (including all format and codec specific options, very long) |
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 | |
ini_set('display_errors', 1); | |
ini_set('display_startup_errors', 1); | |
error_reporting(E_ALL); | |
$database = 'db'; | |
$user = 'user'; | |
$pass = 'pass'; | |
$host = 'localhost'; |
OlderNewer