Skip to content

Instantly share code, notes, and snippets.

cd /tmp
wget \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000_4.0.0-040000.201504121935_all.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-headers-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb \
kernel.ubuntu.com/~kernel-ppa/mainline/v4.0-vivid/linux-image-4.0.0-040000-generic_4.0.0-040000.201504121935_amd64.deb
sudo dpkg -i linux-headers-4.0*.deb linux-image-4.0*.deb
sudo apt-get remove linux-header-4.0* linux-image-4.0*
* Connecting to irc.kampungchat.org (104.140.137.152) port 6667...
* Connection failed. Error: Connection timed out
Cycling to next server in KanpungChat...
* Disconnected ().
* Looking up irc.kampungchat.org
* Connecting to irc.kampungchat.org (104.140.137.152) port 6667...
* Connection failed. Error: Connection timed out
Cycling to next server in KanpungChat...
* Disconnected ().
* Looking up irc.kampungchat.org
netbeans_default_options="
-J-client
-J-Xss2m
-J-Xms32m
-J-XX:PermSize=32m
-J-Dapple.laf.useScreenMenuBar=tr
-J-Dapple.awt.graphics.UseQuartz=true
-J-Dsun.java2d.noddraw=true
-J-Dsun.java2d.dpiaware=true
-J-Dsun.zip.disableMemoryMapping=true
@Kriptonium
Kriptonium / gist:e32be7b01fce38044104
Created October 30, 2015 03:06
Install codecs, software, and more... Fedy lets you install multimedia codecs and additional software that Fedora doesn't want to ship, like mp3 support, Adobe Flash, Oracle Java etc., and much more with just a few clicks. To install Fedy in Fedora, open a Terminal and run the following command,
bash -c 'su -c "curl http://folkswithhats.org/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer"'
@Kriptonium
Kriptonium / xampp-mysql-backup.bat
Last active June 18, 2021 00:13
A simple batch file run with task schedule as automate mysql database backup. Plus it compressed to save disk space.
@echo off
tasklist /FI "IMAGENAME eq mysqld.exe" 2>NUL | find /I /N "mysqld.exe">NUL
if "%ERRORLEVEL%"=="0" (
goto continue
) else (
goto mysql_not_running
)
:continue
#!/bin/bash
# Script to install Fedy < http://folkswithhats.org/ >.
# Copyright (C) 2014 Satyajit sahoo
# Custom by kriptonium - 13/11/2015
if [[ ! $(whoami) = "root" ]]; then
echo "Please run the script as root."
exit 1
fi
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="04dd", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="054c", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="2340", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0930", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666", GROUP="plugdev"
SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666", GROUP="plugdev"
kriptoni@leo [~/rails_apps/dev]# bundle install --without development test
Your Gemfile lists the gem activerecord-jdbcmysql-adapter (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies..............................................................................
Rubygems 1.3.7 is not threadsafe, so your gems will be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
Using rake 10.5.0