Skip to content

Instantly share code, notes, and snippets.

@mailinglists35
mailinglists35 / gist:c353fe9142dccf90899453cfa9ccd03f
Last active February 2, 2019 11:40
cherry pick to apply the pull request
git remote add ktsaou(this can be any name you assign locally) https://github.com/ktsaou/netdata
git fetch ktsaou
git cherry-pick <sha256 of each commit>
===
git remote add ktsaou https://github.com/ktsaou/netdata
git fetch ktsaou
git checkout ktsaou/master
If you want to transform it to a local branch simply checkout -b <new-branch-name>
@mailinglists35
mailinglists35 / fortigate
Last active March 31, 2018 11:06
debug fortigate ipsec
diagnose debug application fnbamd -1
diagnose debug application ike -1
diagnose debug enable
gre http://kb.fortinet.com/kb/documentLink.do?externalID=FD31182
get router info routing-table all
diag system gre list
diag netlink interface list
get system interface
@mailinglists35
mailinglists35 / oracle linux vm server
Created July 21, 2017 11:47
oracle linux vm server
cd /etc/yum.repos.d/
wget http://public-yum.oracle.com/public-yum-ol6.repo
https://community.spiceworks.com/topic/1974231-update-dell-idrac-6-from-version-1-10-13-to-latest-version
https://www.dell.com/support/article/ro/ro/robsdt1/sln296511/updating-dell-poweredge-servers-via-bootable-media---iso?lang=en
http://en.community.dell.com/support-forums/servers/f/177/t/19475476?pi43407=1
Following is the sequence recommended for updating the firmware on a Dell PowerEdge server:
1. iDRAC
2. Lifecycle Controller
3. BIOS
4. Diagnostics
5. OS Driver Pack
6. RAID
@mailinglists35
mailinglists35 / config
Last active October 18, 2017 09:09
udev si dns log
logging {
category lame-servers { default_debug; quiet_syslog; };
channel quiet_syslog { severity notice; syslog daemon; };
};
ACTION=="add", KERNEL=="0000:00:03.0", SUBSYSTEM=="pci", RUN+="/bin/sh -c 'echo 1 > /sys/bus/pci/devices/0000:00:03.0/remove'"
# /etc/udev/rules.d/42-usb-permissions.rules
SUBSYSTEM!="usb", GOTO="end_skip_usb"
https://stuff-things.net/2014/09/25/magic-ip-address-shortcuts/
Stuff… And Things…
Blog
Archives
Strongbox
Spike
Search
SEP 25TH, 2014 2:49 PM | COMMENTS
Command for determining my public IP?
up vote
392
down vote
favorite
230
If I check with google, I can see my public IP. Is there something on the Ubuntu command-line which will yield me the same answer?
networking
shareimprove this question
exec 3<>/dev/tcp/10.21.3.250/8080 && echo -e 'GET / HTTP/1.0\n' >&3 && sed 's/\r//g' <&3| egrep -v -- '\:|HTTP|^ *$'
/etc/vconsole.conf
KEYMAP="fr-latin9"
FONT="eurlatgr"
/etc/X11/xorg.conf.d/00-keyboard.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
#!/bin/sh
# Copyright 2007-2013 Gentoo Foundation
# Copyright 2007-2013 Mike Frysinger <[email protected]>
# Copyright 2014-2015 Natanael Copa <[email protected]>
# Distributed under the terms of the GNU General Public License v2
argv0=${0##*/}
version=1.25
: ${ROOT:=/}