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
# the Make rules | |
$(OBJ_DIR)/%.f$(sfxObj) : %.f $(DEP_DIR)/%.f$(sfxDep) | |
$(FC) -c $< $(call fn_includes_from_src,$<) $(SHAREDFLAGS) $(FFLAGS) -o $@ | |
... | |
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
## unpriviledged LXC on Debian ## | |
#refs: http://www.cyberciti.biz/faq/howto-linux-configuring-default-route-with-ipcommand/ https://wiki.debian.org/BridgeNetworkConnections https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/ | |
## one-time pre-reqs | |
# install software packages | |
aptitude install lxc newuidmap | |
#(opt.) for network access: aptitude install bridge-utils | |
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
"""Pythonic Switch Statement | |
i'm going to have fun using this to dynamically construct a database-backend abstraction using my atomicnode concept... Yay! | |
Dictionary trees own. HAHA I love them! | |
""" | |
class switchdict(): | |
""" | |
a pythonic form of the switch statement, more traditionally expressed as... | |
""" |
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
# construct shell commands, then pass them to the shell interpreter | |
ls Life\ -\ S02E* | awk '// {print "mv" , "\"" $0 "\"" , "life__" $3 "--[0000]hdtv[eng]-" $5}' | sh |
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
-- | |
--microsoft sql server | |
--get element from string by tags, mostly useful for MSSQL versions lacking (prior to) a native xml-datatype | |
-- | |
--common | |
CREATE FUNCTION get_ElementByTags ( @vXML varchar(max) , @vTag varchar(64) ) | |
RETURNS varchar(512) | |
BEGIN |
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
# /etc/apt/preferences | |
#experimental | |
package: * | |
pin: release a=experimental | |
pin-priority: -300 | |
#unstable | |
package: * | |
pin: release a=unstable |
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
;intern is a built-in function in `C source code'. | |
;| | |
;|(intern STRING &optional OBARRAY) | |
;| | |
;|Return the canonical symbol whose name is STRING. | |
;|If there is none, one is created by this function and returned. | |
;|A second optional argument specifies the obarray to use; | |
;|it defaults to the value of `obarray'. | |
;#DEMO: reflection in elisp |
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
# configuration variables for gitolite | |
# This file is in perl syntax. But you do NOT need to know perl to edit it -- | |
# just mind the commas, use single quotes unless you know what you're doing, | |
# and make sure the brackets and braces stay matched up! | |
# (Tip: perl allows a comma after the last item in a list also!) | |
# HELP for commands (see COMMANDS list below) can be had by running the | |
# command with "-h" as the sole argument. |
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
==> salt-test-d1: Clearing any previously set forwarded ports... | |
==> salt-test-d1: Clearing any previously set network interfaces... | |
==> salt-test-d1: [landrush] virtualbox requires an additional private network; adding it | |
==> salt-test-d1: [landrush] Host DNS resolver config looks good. | |
==> salt-test-d1: Preparing network interfaces based on configuration... | |
salt-test-d1: Adapter 1: nat | |
salt-test-d1: Adapter 2: hostonly | |
==> salt-test-d1: Forwarding ports... | |
salt-test-d1: 22 (guest) => 2222 (host) (adapter 1) | |
==> salt-test-d1: Booting VM... |
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
enterprise: | |
- low-cost, adaptable, dynamic, provable, portable systems design |
OlderNewer