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
Index: jni/native.c | |
=================================================================== | |
--- jni/native.c (revision 2) | |
+++ jni/native.c (working copy) | |
@@ -5,7 +5,7 @@ | |
#define DEBUG_TAG "NDK_AndroidNDK1SampleActivity" | |
-void Java_com_mamlambo_sample_ndk1_AndroidNDK1SampleActivity_helloLog(JNIEnv * env, jobject this, jstring logThis) | |
+JNIEXPORT void JNICALL Java_com_mamlambo_sample_ndk1_AndroidNDK1SampleActivity_helloLog(JNIEnv * env, jobject this, jstring logThis) |
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
# http://fishshell.com/ | |
fish_shell: | |
pkgrepo.managed: | |
- ppa: fish-shell/release-2 | |
pkg.installed: | |
- name: fish | |
# https://github.com/fish-shell/fish-shell/issues/107 | |
/usr/share/fish/config.fish: |
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
sshd_root_login: | |
file.replace: | |
- name: /etc/ssh/sshd_config | |
- pattern: ".*PermitRootLogin .*" | |
- repl: "PermitRootLogin no" | |
"service ssh restart": | |
cmd.run: | |
- onchanges: | |
- file: sshd_root_login |
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
sshd_root_login: | |
file.replace: | |
- name: /etc/ssh/sshd_config | |
- pattern: ".*PermitRootLogin .*" | |
- repl: "PermitRootLogin no" | |
ssh: | |
service.restart: | |
- onchanges: | |
- file: sshd_root_login |
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
<html> | |
<head> | |
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/pure/0.5.0/pure-min.css"/> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/knockout/3.2.0/knockout-min.js"/> | |
</head> | |
<body> | |
</body> | |
</html> |
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
[ERROR ] An un-handled exception was caught by salt's global exception handler: | |
TypeError: string indices must be integers, not str | |
Traceback (most recent call last): | |
File "/usr/bin/salt-call", line 11, in <module> | |
salt_call() | |
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 123, in salt_call | |
client.run() | |
File "/usr/lib/python2.7/dist-packages/salt/cli/__init__.py", line 410, in run | |
caller = salt.cli.caller.Caller.factory(self.config) | |
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 64, in factory |
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
Chocolatey v0.9.9.8 | |
Installing the following packages: | |
pip | |
By installing you accept licenses for the packages. | |
easy.install v0.6.11.4 | |
Setting PYTHONHOME environment variable to 'C:\Python27' | |
PS: PYTHONHOME variable is not required to Python works, but it is a good practice to have it. | |
Using python home at 'C:\Python27' | |
Installing easy_install for Python(2.7.6)... |
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
import XMonad | |
import XMonad.Hooks.DynamicLog | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Hooks.ManageHelpers | |
import XMonad.Hooks.EwmhDesktops | |
import XMonad.Actions.GroupNavigation | |
import XMonad.Layout.NoBorders | |
import XMonad.Layout.Gaps | |
import XMonad.Util.Run(spawnPipe) | |
import XMonad.Util.EZConfig(additionalKeys) |
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
# -*- Mode: python -*- | |
import pprint | |
from twisted.trial import unittest | |
from twisted.internet import reactor, protocol | |
import server | |
class ConnectClient( protocol.DatagramProtocol ): |
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 Radiant plugins (modules) are a little funky | |
# Some of them are actually linked against the build directory | |
ln -s ../build ./build | |
ln: ./build/build: File exists | |
make: *** [bundle] Error 1 |
OlderNewer