Skip to content

Instantly share code, notes, and snippets.

View mrManner's full-sized avatar
📈
Improving things

Johan Manner mrManner

📈
Improving things
View GitHub Profile
wxWidgets for Mac OS X installation
-----------------------------------
wxWidgets can be compiled using Apple's Cocoa or Carbon libraries.
Cocoa is the more modern library, and Carbon is the older deprecated library.
In wxWidgets 3, Cocoa is the recommended library. While Carbon is still
supported by Apple, little new work is being done in Carbon.
Most Mac OS X developers should start by downloading and installing Xcode
Please pass this message to your purchasing manager. Thanks.
Hi
We have been making quality swimsuits, beachwear, swimsuits, parkas, bathing suits, one-piece swimdress and swimtrunks using microfiber, nylon, PBT, etc.
We own our factory in China so you can buy factory-direct and save.
See if you are interested in working together and we shall make samples and quote prices accordingly.
<html><head>
<title>.:: Welcome to the Web-Based Configurator::.</title><meta http-equiv='content-type' content='text/html;charset=iso-8859-1'>
<meta http-equiv="Pragma" content="no-cache">
<meta name="generator" content="GoLive CyberStudio 3">
<link rel="stylesheet" href="control.css" type="text/css">
<style type="text/css">
<!--
.style1 {
@mrManner
mrManner / medellangd.pl
Created October 6, 2015 12:34
Medellängd
%! medellangd(+Text:string,?AvgLen)
medellangd(Text,AvgLen) :-
medellangd(Text,0,0,0,AvgLen).
medellangd([],0,_,CurAvg,CurAvg) :- !.
%NewNumW is NumW + 1,
%AvgLen is (CurAvg * NumW + CW) / NewNumW.
medellangd([],CW,NumW,CurAvg,AvgLen) :-
NewNumW is NumW + 1,
AvgLen is (CurAvg * NumW + CW) / NewNumW.
medellangd([Char | Tail],CW,NumW,CurAvg,AvgLen) :-
@mrManner
mrManner / hajk.md
Created October 1, 2015 19:11
Hajk med äventyrarna!

Hej Alex!

Lite info om den där hajken. Det är dina scoutkamrater som har planerat, det de har bestämt är det här:

  • Samling klockan 19 på fredag vid scoutlokalen.
  • Ni åker gemensamt buss till Paradisets friluftsområde.
  • Första övernattningen är i fast vindskydd vid en sjö ett par kilometer därifrån.
  • På lördagen går ni till ett vindskydd strax utanför Hemfosa.
  • På söndagen åker vi hem tillsammans från Hemfosa och räknar med att vara klara och framme ca 16.
Welcome to crosh, the Chrome OS developer shell.
If you got here by mistake, don't panic! Just close this tab and carry on.
Type 'help' for a list of commands.
crosh> ls
ERROR: unknown command: ls
help: unknown command ''
Process: DEFCON [10649]
Path: /Users/USER/Library/Application Support/Steam/*/DEFCON.app/Contents/MacOS/DEFCON
Identifier: uk.co.introversion.Defcon
Version: 1.4.1b2 (1.4.1b2)
Code Type: X86 (Native)
Parent Process: ??? [1]
Responsible: DEFCON [10649]
User ID: 501
Date/Time: 2015-07-25 18:51:34.081 +0200
less 418
Copyright (C) 1984-2007 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Homepage: http://www.greenwoodsoftware.com/less
Sammanlagt har 1 fel inträffat. Se detaljer nedan:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers at [row,col {unknown-source}]: [1,50]
@mrManner
mrManner / USV.bas
Last active August 29, 2015 14:23
Forwards emails to original sender if they're in address book or directory (-ish)
Attribute VB_Name = "Modul1"
' Make sure the right person gets the right email. Automagically.
' Could save us some time. Could make us unemployed. We will see.
'
' [email protected]
'
Sub VidarebefordraUSV()
' Forward email messages
'