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
<!doctype html> | |
<head> | |
<title>Stick to top simpe exmaple</title> | |
<style> | |
body{margin:0; padding: 0; font-family: Segoe UI, sans-serif; } | |
#header{ | |
background: #ccc; | |
border: 1px solid #ccc; |
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
{* more sexy and Pro *} | |
{if $wp->havePosts} | |
{* more familiar for wp devs & users, but unsexy *} | |
{if have_posts()} |
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
Show hidden characters
[ | |
{ "keys": ["ctrl+d"], "command": "duplicate_line" }, | |
{ "keys": ["ctrl+shift+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["ctrl+shift+k"], "command": "find_under_expand" }, | |
{ "keys": ["alt+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"}, "checkbox": true } | |
] |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using OpenRTM.Core; | |
using Aldebaran.Proxies; | |
namespace NaoMotionRTC | |
{ |
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
# Author: Cifro Nix, http://about.me/Cifro | |
# | |
# usage: | |
# ./create-thumbnails.sh | |
# will produce thumbnails with name "<id>.jpg" with size 220x122 | |
# | |
# different size: | |
# ./create-thumbnails.sh 640x360 -big | |
# will produce thumbnails with name "<id>-big.jpg" with size 640x360 |
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
;;; === Funkcia na generovaie n-tic ==== | |
(defun gen2 (L &optional i) | |
(if (null L) | |
(list (reverse i)) | |
(mapcan | |
(lambda (x) (gen2 (rest L) (cons x i))) | |
(first L)))) |
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
; Lisp | |
(defun generate-counter () | |
(let ((memory 0)) | |
(lambda () (incf memory)))) | |
CG-USER(1): (setq fn (generate-counter)) | |
CG-USER(2): (funcall fn) | |
1 | |
CG-USER(3): (funcall fn) | |
2 |
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
/* | |
http://www.webkit.org/blog/363/styling-scrollbars/ | |
*/ | |
.zF.e-Rb::-webkit-scrollbar { | |
width: 12px | |
} | |
.zF.e-Rb::-webkit-scrollbar-thumb { |
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
#!/bin/sh | |
# | |
# @file pkg_install_ubuntu.sh | |
# @brief OpenRTM-aist dependent packages install script for Debian-sarge | |
# @author Noriaki Ando <[email protected]> | |
# Shinji Kurihara | |
# Tetsuo Ando | |
# Harumi Miyamoto | |
# | |
# Cifro Nix // Modified for Ubuntu 11.10, there is no package for 11.10 yet |
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
## @package NaoPositions | |
# @author Cifro Nix (http://about.me/Cifro) | |
# @version 1.0 | |
# | |
# Contains functions for basic Nao's positions | |
# | |
# Requires naoqi-sdk-1.10.52 or newer | |
# | |
# Up to date source code is available at: | |
# https://gist.github.com/1302060 |