Correct linux system time
sudo apt-get install ntp
sudo ntpd -qg; sudo hwclock -w
If it does not work:
timedatectl set-time '2015-11-23 08:10:40'
sheepfilms
Xuebing Du
hello vonnie
Mike Driver
Cosimo Galluzzi
RMH
taylor price
occasionally subtle
noise dept.
No title available
cherry valley forever
todays bird
macklin celebrini has autism
No title available

JVL
Three Goblin Art

Origami Around
YOU ARE THE REASON

tannertan36
$LAYYYTER

seen from Türkiye

seen from United States
seen from Tunisia
seen from Germany

seen from United States
seen from France

seen from United Kingdom
seen from Nigeria
seen from United States

seen from United States
seen from United States

seen from Thailand

seen from United Kingdom
seen from Brazil
seen from United States

seen from Malaysia

seen from United States
seen from T1
seen from Malaysia

seen from Malaysia
@fixbugs
Correct linux system time
sudo apt-get install ntp
sudo ntpd -qg; sudo hwclock -w
If it does not work:
timedatectl set-time '2015-11-23 08:10:40'
Class 'MongoDB\Driver\Manager' not found
Install the php driver $ sudo pecl install mongodb
Create the extension file $ sudo nano /etc/php5/mods-available/mongodb.ini and write inside: extension=mongodb.so
Create a symbolic link for this file $ sudo ln -sv /etc/php5/mods-available/mongodb.ini /etc/php5/apache2/conf.d/20-mongodb.ini
Create an other symbolic link for this file $ sudo ln -sv /etc/php5/mods-available/mongodb.ini /etc/php5/cli/conf.d/20-mongodb.ini
Restart apache or the server used $ sudo service apache2 restart
Install pygame on Mac OS El Captain
brew tap samueljohn/python brew install python brew install pygame
PHP Fatal error: Class 'MongoDB\Driver\Manager' not found
Server: Ubuntu 14.04
Database: Mongodb
Problem:
php -f index.php -> works
browser to index.php -> error `PHP Fatal error: Class 'MongoDB\Driver\Manager' not found`
Solution: add extension=mongodb.so into /etc/php5/fpm/php.ini
centos 7 - open firewall port
firewall-cmd --zone=dmz --add-port=80/tcp --permanent firewall-cmd --zone=public --add-port=80/tcp --permanent
firewall-cmd --reload
Redirect from an HTML page
<meta http-equiv="refresh" content="0; url=http://example.com/" />
Too many users looking for free NTFS solution after upgrading to OS X 10.11 El Capitan. Paragon NTFS 14 (Click HERE to get 30% Discount on single license and support Paragon for their ton of effort on this great Application) actually supports fully OS X 10.11, but people would finding a free solution or waiting for another free software released in a compatible version rather than pay money for the license key. Right now, mac users can install ntfs-3g via Terminal to Read and Write NTFS in OS...
Install Tomahawk test tool
This is the script to install Tomahawk test tool on Ubuntu/Debian 32bits:
#!/bin/bash echo "Tomahawk installation" cd /usr/src echo "Installing dependencies:" apt-get install -y ssh gcc flex bison make echo "Installing libpcap" wget http://www.packet-foo.com/tomahawk/libpcap-0.8.1.tar.gz tar xzf libpcap-0.8.1.tar.gz cd libpcap-0.8.1/ ./configure make make install cd .. echo "Installing libnet" wget http://www.packet-foo.com/tomahawk/libnet-1.0.2a.tar.gz tar xzf libnet-1.0.2a.tar.gz cd Libnet-1.0.2a ./configure make make install cd .. echo "Installing tomahawk" wget http://prdownloads.sourceforge.net/tomahawk/tomahawk1.1.tar.gz tar xzf tomahawk1.1.tar.gz cd tomahawk1.1 make make install cd .. echo "Cleaning.." rm -rf libpcap-0.8.1.tar.gz libnet-1.0.2a.tar.gz tomahawk1.1.tar.gz echo "Tomahawk has installed, now we can test..."
Hope this help
MacOS: Enable read/write on NTFS partition without any third-party application
Open this file:
sudo vi /etc/fstab
Add this line to the end of the file
LABEL=drivename none ntfs rw,auto,nobrowse
drivename: Name of drive: without any space: Portable, Blabla
Save the file, unplug and re-plugin your device.
Find your device at: /Volumes . Now you can read, write on your devices
Vim: Syntax highlight
In vim editor:
:syntax on
To enable this when start vim, add at the end of file .vimrc (or create new file .vimrc if it does not exist):
syntax on
I was naively expecting this command to run a bash shell in a running container : docker run "id of running container" /bin/bash it looks like it's not possible, I get the error : 2013/07/27
Searching around for the way to work with a container of docker from 2 different tabs.
short answer: docker exec -it "id_of_running_container" bash
Virtualbox: Shared folder
0. Mount share folder:
mkdir share
sudo mount -t vboxsf my_share /home/user/share
1. Error:
VirtualBox: mount.vboxsf: mounting failed with the error: No such device
Solution:
sudo modprobe -a vboxguest vboxsf vboxvideo
2. Error:
virtualbox mount: unknown filesystem type 'vboxsf'
Solution:
sudo apt-get install virtualbox-guest-dkms
Virtualbox: 2 network interface
EDIT: full /etc/network/interfaces:
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp allow-hotplug eth1 iface eth1 inet dhcp
If I open Terminal and type in python, I see the version is 2.7.4. How do I get python 3.4? And do I need IDLE if I have sublime text?
Install Python 3.4 on Ubuntu
I would like to keep my .bashrc and .bash_login files in version control so that I can use them between all the computers I use. The problem is I have some OS specific aliases so I was looking for ...
if [[ "$OSTYPE" == "linux-gnu" ]]; then # ... elif [[ "$OSTYPE" == "darwin"* ]]; then # Mac OSX elif [[ "$OSTYPE" == "cygwin" ]]; then # POSIX compatibility layer and Linux environment emulation for Windows elif [[ "$OSTYPE" == "msys" ]]; then # Lightweight shell and GNU utilities compiled for Windows (part of MinGW) elif [[ "$OSTYPE" == "win32" ]]; then # I'm not sure this can happen. elif [[ "$OSTYPE" == "freebsd"* ]]; then # ... else # Unknown. fi
I have copied this code from what seems to be various working dockerfiles around, here is mine: FROM ubuntu MAINTAINER Luke Crooks "[email protected]" # Update aptitude with new repo RUN apt-get u...
Clone private git repo with dockerfile
How do we determine where the mistake is in our code that causes a segmentation fault? After writing some code, to determine where I have a segmentation fault, can gcc show me my have a mistake (or
$ gdb ./your_program
(gdb) run
-- segmentation fault here --
(gdb) backtrace