Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<!-- <script type="text/javascript" src="js/libphonenumber.js"></script>-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js" ></script>
<script type="text/javascript" src="http://sipjs.com/download/sip-0.6.4.min.js"></script>
</head>
<body>
<video id="remoteView"></video>
<video id="selfView" muted="muted"></video>
<button id="endCall">End Call</button>
on run
display dialog "This script applet will respond to webpage links beginning with:" & return & return & "customurl://com.hackademic.AppleScript.URL_Handler?action=1$Path/to/PDF.pdf#" & return & return & "It will open your custom URLs in Skim" buttons {"OK"} default button 1 with title "Custom URL Helper" with icon 1
tell application "Finder" to update (path to me)
end run
on open location this_URL
-- EXTRACT ARGUMENTS
set X to the offset of "?" in this_URL
# Node-WebKit CheatSheet
# Download: https://github.com/rogerwang/node-webkit#downloads
# Old Versions: https://github.com/rogerwang/node-webkit/wiki/Downloads-of-old-versions
# Wiki: https://github.com/rogerwang/node-webkit/wiki
# How: https://github.com/rogerwang/node-webkit/wiki/How-node.js-is-integrated-with-chromium
# 1. Run your application.
# https://github.com/rogerwang/node-webkit/wiki/How-to-run-apps
This file has been truncated, but you can view the full file.
Accessibility:
Accessibility Information:
Cursor Magnification: Off
Display: Black on White
Flash Screen: Off
Mouse Keys: Off
Slow Keys: Off
Sticky Keys: Off
using System;
using System.Runtime.InteropServices;
using Microsoft.Win32;
using SHDocVw;
namespace cablehead {
[ComVisible(true),
ClassInterface(ClassInterfaceType.None),
// Create a GUID Under Tools\Cteate GUID before compiling
Guid("Your Guid Here")]
mylib.close_to_tray = ->
gui = require('nw.gui')
win = gui.Window.get()
tray = null
win.on 'close', ->
this.hide()
tray = new gui.Tray({ icon: 'icon.jpg' })
import sys
import datetime
import time
from PyQt4 import QtCore, QtGui
class Main(QtGui.QMainWindow):
def __init__(self, parent=None):
super(Main, self).__init__(parent)
flags = QtCore.Qt.Window
flags |= QtCore.Qt.FramelessWindowHint
---------------------- now
[root@example sun]# vim /etc/default/grub
[root@example sun]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.1-1.fc17.x86_64
Found initrd image: /boot/initramfs-3.5.1-1.fc17.x86_64.img
Found linux image: /boot/vmlinuz-3.3.4-5.fc17.x86_64
Found initrd image: /boot/initramfs-3.3.4-5.fc17.x86_64.img
done
[root@example sun]# cat /etc/default/grub
GOISTI - (Google international successfull troll institute)
2012-01-01 [draft]
Kens impression:
http://farm9.staticflickr.com/8429/7496482262_3303fc53ec_o.gif
Today Google has following working products:
(THANK'S TO BIG GIANT COLLECTIVE TROLL!!)
Section "InputDevice"
Identifier "evdev touchscreen catchall"
Driver "evdev"
#MatchIsTouchscreen "on"
Option "Device" "/dev/input/event*"
Option "Emulate3Buttons" "True"
Option "Emulate3Timeout" "50"
Option "GrabDevice" "False"
Option "Calibration" "0 100 0 100"
EndSection