CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
(defun toggle-frame-maximized-undecorated () | |
(interactive) | |
(let* ((frame (selected-frame)) | |
(on? (and (frame-parameter frame 'undecorated) | |
(eq (frame-parameter frame 'fullscreen) 'maximized))) | |
(geom (frame-monitor-attribute 'geometry)) | |
(x (first geom)) | |
(y (second geom)) | |
(display-height (first (last geom)))) | |
(if on? |
CentOS, Ubuntu, Slackware, etc. Whatever Linux-based OS it is, you can create a bootable USB for it by using a Mac.
Download it, copy it, whatever it takes to prepare that Linux-based OS .iso file
Moved to https://github.com/ebidel/puppeteer-examples |
#!/bin/sh | |
# | |
function killAllProcs( ) | |
{ | |
sudo /usr/bin/killall $1 | |
/bin/ps ax | /usr/bin/grep $1|/usr/bin/awk '{print $1}'|/usr/bin/xargs sudo kill -9 | |
} | |
echo "removing LANDesk Client" |
#HIDE | |
sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search | |
killall SystemUIServer | |
#SHOW | |
sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search | |
killall SystemUIServer |
#!/bin/bash | |
# | |
# Bash script to setup headless Selenium (uses Xvfb and Chrome) | |
# (Tested on Ubuntu 12.04) | |
# Add Google Chrome's repo to sources.list | |
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee -a /etc/apt/sources.list | |
# Install Google's public key used for signing packages (e.g. Chrome) | |
# (Source: http://www.google.com/linuxrepositories/) |
require 'gollum/frontend/app' | |
require 'digest/sha1' | |
class App < Precious::App | |
User = Struct.new(:name, :email, :password_hash, :can_write) | |
before { authenticate! } | |
before /^\/(edit|create|delete|livepreview|revert)/ do authorize_write! ; end | |
helpers do |
(function($) { | |
// Used by dateinput | |
$.expr = {':': {}}; | |
// Used by bootstrap | |
$.support = {}; | |
// Used by dateinput | |
$.fn.clone = function(){ | |
var ret = $(); |
/** | |
* This library defines a new style ES objects | |
* which support delegation based mixins. A mixin | |
* chain is stored in the internal [[Mixin]] property. | |
* | |
* Used features: Harmony (ES6) proxies. | |
* | |
* Tested in FF4 beta. | |
* | |
* @author Dmitry A. Soshnikov <dmitry.soshnikov@gmail.com> |
.autotest
and add this line: Autotest::Growl::image_dir = File.expand_path("~")+'/Dropbox/Public/fu'
(or wherever you unpacked fu.zip)