Skip to content

Instantly share code, notes, and snippets.

This is all based on the [alpha release][1].

Properties

From the built-in help system:

For many settings TextMate will look for a .tm_properties file in the current folder and in any parent folders (up to the user’s home folder).

These are simple setting = value listings where the value is a format string in which other variables can be referenced.

@kidpixo
kidpixo / CiscoVPNConnection.scpt
Last active May 29, 2016 09:36 — forked from twksos/CiscoVPNConnection.scpt
Cisco VPN Connection: Adapted for 10.8.5 notification window prompt "Enter Username and Password.".
-- Please set your vpn connection name and password here
set VPNName to "VPN name"
set VPNpassword to "VPN password"
set window_prompt to "Enter Username and Password." -- this works for OS X 10.8.5, check yours.
tell application "System Events"
tell current location of network preferences
set VPNService to service VPNName
end tell
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kidpixo
kidpixo / .gitignore
Created August 12, 2017 05:49 — forked from Acuf5928/Main.py
*.htm
*.html
*.csv
@kidpixo
kidpixo / README.md
Last active September 26, 2017 12:49 — forked from ewenchou/README.md
Run Python script as systemd service
  1. Create a service file like MYSERVICE.service
  2. Put it in /lib/systemd/system/
  3. Reload systemd using command: systemctl daemon-reload
  4. Enable auto start using command: systemctl enable MYSERVICE.service
  5. addon (thanks @nadrimajstor) : after network is up in [Unit]
@kidpixo
kidpixo / django_init
Last active October 19, 2021 09:46 — forked from kalafut/django_init
Simple creation of a single-app django project
#!/bin/bash
#
# Simple creation of a single-app django project, as described in: https://zindilis.com/posts/django-anatomy-for-single-app/
#
# ./django_init foo
#
# This will result is the following flat structure:
#
# .
# └── foo