This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am flurischt on github. | |
* I am flurin (https://keybase.io/flurin) on keybase. | |
* I have a public key whose fingerprint is 5885 72DC 299E 9463 D9DC 3E70 8F1E 934C 951E 634F | |
To claim this, I am signing this object: |
This file contains 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
#!/usr/bin/env python | |
import cookielib, urllib, urllib2, sys | |
from BeautifulSoup import BeautifulSoup | |
### some constants... ### | |
SERVER = 'http://lurinfacts.ch' | |
API = '/api/vote' | |
TOP = '/facts/top' | |
RECENT = '/facts/recent' |
This file contains 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
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document regexp("^https?://www.google.com/reader/view/.*") { | |
#chrome-title { | |
padding: 0px 0px 0px 0px !important; | |
line-height: 13px !important; | |
} | |
#viewer-header { | |
height: 28px !important; |
This file contains 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
Private Sub Application_Startup() | |
Set nms = Application.GetNamespace("MAPI") | |
Set fld = nms.GetDefaultFolder(9) | |
Set itms = fld.Items | |
'lngCount = itms.Count | |
' counter fuer die anzahl verarbeiteter Termine | |
Dim i | |
i = 0 |
This file contains 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
* Code to put the SIGN in front: | |
* VALUE holds your number (in character like format) | |
DATA: TEXT1(1) TYPE C. | |
SEARCH VALUE FOR '-'. | |
IF SY-SUBRC = 0 AND SY-FDPOS <> 0. | |
SPLIT VALUE AT '-' INTO VALUE TEXT1. | |
CONDENSE VALUE. | |
CONCATENATE '-' VALUE INTO VALUE. | |
ELSE. |