Skip to content

Instantly share code, notes, and snippets.

@SPRIME01
SPRIME01 / AutoHotKey script - Always-on-top.ahk
Created March 1, 2021 15:09 — forked from gustavomdsantos/AutoHotKey script - Always-on-top.ahk
AutoHotKey script that make any window Always-on-Top on Windows.
; Press Ctrl+Shift+Space to set any currently active window to be always on top.
; Press Ctrl+Shift+Space again set the window to no longer be always on top.
; Source: https://www.howtogeek.com/196958/the-3-best-ways-to-make-a-window-always-on-top-on-windows
^+SPACE::
WinGetTitle, activeWindow, A
if IsWindowAlwaysOnTop(activeWindow) {
notificationMessage := "The window """ . activeWindow . """ is now always on top."
notificationIcon := 16 + 1 ; No notification sound (16) + Info icon (1)
}

Review past week

  • Review calendar events from the past week: Do you need to follow-up with anyone? Are there action items from any of those events you need to get done?
  • Review your weekly or monthly goals: Did you achieve any goals last week? Did you move forward on longer-term goals? Do you need to adjust your process this week?
  • Reflect on the past week: Did the week feel successful as a whole? Could it have been better? What were the good and bad parts?

Prepare for upcoming week

  • Review calendar events for the week ahead: Do you need to prepare notes or research for any events? Do you need to confirm times and places?
  • Review monthly and quarterly goals: Is there anything you can do this week to move towards your goals?
@SPRIME01
SPRIME01 / Role.java
Created January 11, 2017 04:28 — forked from jewelsea/Role.java
Sample for creating a role based UI using JavaFX FXML
public enum Role { FATHER, SON, MOTHER, DAUGHTER, BROTHER, SISTER }
@SPRIME01
SPRIME01 / good.py
Created October 3, 2016 20:55 — forked from alecklandgraf/good.py
Python, the good parts
# string format with kwargs
user = {
'first_name': 'John',
'last_name': 'Doe',
'email': 'j.doe@example.com',
}
user_bio = '{first_name} is registered with email: {email}'.format(**user)
# string format with an object
class User(object):
@SPRIME01
SPRIME01 / template.wsdl
Created July 20, 2016 15:39 — forked from whaley/template.wsdl
WSDL Template
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://www.example.com/webservice"
xmlns:tns="http://www.example.com/webservice"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@SPRIME01
SPRIME01 / ckedit.py
Last active August 29, 2015 14:12 — forked from mrjoes/ckedit.py
from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext import admin, wtf
from flask.ext.admin.contrib import sqlamodel
app = Flask(__name__)
app.config['SECRET_KEY'] = '123456790'
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.sqlite'
db = SQLAlchemy(app)
http://0-www.sciencedirect.com.www.consuls.org/science?_ob=QuickSearchURL&_method=submitForm&_acct=C000050221&md5=0c4b6db32507e4a332b2aa6dd47a65f4&qs_all={searchTerms}&qs_author=&qs_title=&qs_vol=&qs_issue=&qs_pages=&x=34&y=15
http://0-dictionary.oed.com.library.utulsa.edu/cgi/findword?query_type=word&queryword={searchTerms}
http://100.daum.net/search/search.do?query={searchTerms}
http://1000corks.com/search?st={searchTerms}&src=myc
http://11870.com/konsulto/{searchTerms}
http://1000memories.com/search?q={searchTerms}
http://130.219.35.129/search?q={searchTerms}&btnG=Google+Search&entqr=0&output=xml_no_dtd&sort=date%3AD%3AL%3Ad1&client=default_frontend&ud=1&oe=UTF-8&ie=UTF-8&proxystylesheet=default_frontend&site=default_collection
http://1337x.org/search/{searchTerms}/0/
http://11888.ote.gr/web/guest/white-pages/search?who={searchTerms}&where=
http://140.111.34.46/cgi-bin/newDict/dict.sh?idx=dict.idx&cond={searchTerms}&pieceLen=50&fld=1&cat=&imgFont=1

These are my workflowy customisations, the intention is that when you are on workflowy.com you load the CSS with an addon like stylebot for chrome and the javascript for something like tampermonkey. I'll expand with some specific installation instructions later and maybe migrate this away from GISTS.