This file contains hidden or 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
| sed -i -e "$( ssh root@vimageoslive 2>&1 | grep Offending | sed 's/.*:\([0-9]\+\).*/\1/' )d" .ssh/known_hosts |
This file contains hidden or 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
| plane_ = createEntity("PLANE"); | |
| plane_->getSubEntity(0)->setMaterialName("Background"); | |
| plane_->setRenderQueueGroup(RENDER_QUEUE_BACKGROUND); | |
| node_ = rootNode()->createChildSceneNode(); | |
| node_->attachObject(plane_); | |
| node_->lookAt(Vector3::UNIT_Y, Ogre::Node::TS_WORLD, Ogre::Vector3::UNIT_Z); |
This file contains hidden or 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
| for i in *; do ( echo "============ $i "; cd $i && git pull && cd Release && make -j8 all ); done |
This file contains hidden or 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
| ## Disable udev2 name scheme for network interfaces | |
| ln -s /dev/null /etc/udev/rules.d/80-net-name-slot.rules |
This file contains hidden or 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
| newCamera->synchroniseBaseSettingsWith(oldCamera); |
This file contains hidden or 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
| function ssh-known-hosts-rm { sed -i -e "$( ssh $@ -o StrictHostKeyChecking 2>&1 | grep Offending | sed 's/.*:\([0-9]\+\).*/\1/' )d" .ssh/known_hosts } |
This file contains hidden or 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
| void parseData(const char* dataStr, unsigned char* data, int* length) { | |
| ::memset(data, 0, sizeof(data)); | |
| const char* ds = dataStr; | |
| unsigned char* d = data; | |
| char byteStr[3] = { 0 }; | |
| while (true) { | |
| if (ds[0] == ' ') { | |
| ++ds; | |
| } | |
| if (ds[0] == 0 || ds[1] == 0) { |
This file contains hidden or 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
| /* | |
| * main.cpp | |
| * | |
| * Created on: Jun 10, 2013 | |
| * Author: pez | |
| */ | |
| #include <termios.h> | |
| #include <string.h> | |
| #include <unistd.h> |
This file contains hidden or 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
| $: << File.expand_path("../lib", File.dirname(__FILE__)) |
This file contains hidden or 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
| (function($) { | |
| $(document).ready(function() { | |
| }); | |
| })(jQuery) |
OlderNewer