Skip to content

Instantly share code, notes, and snippets.

View vuchl's full-sized avatar
🔼
Working on a GraphQL API

Sebastian vuchl

🔼
Working on a GraphQL API
  • Germany
View GitHub Profile
@vuchl
vuchl / gist:c503cb861d538dc36fc6
Created October 20, 2014 18:19
configuration file for Bolt 2 CMS on NGINX + PHP-FPM
server {
listen 80;
server_name mycoolsite.com www.mycoolsite.com;
root /home/mycoolsite.com/public_html;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
@vuchl
vuchl / GroupWiseMailObjectGetSenderAddress.cs
Created January 7, 2015 13:15
Gets the sender address of the messages previously selected
for (int i = 1; i <= messageList.Count; i++)
{
// the .Item() method expects either a string or a long
// see http://www.novell.com/documentation/developer/groupwise_sdk/gwsdk_gwobjapi/data/h20s5bdo.html
long index = (long)i;
// instantiate a Message object to get access to the different properties like subject, sender etc
GroupwareTypeLibrary.Message oMessage = (GroupwareTypeLibrary.Message)ml.Item(index);
// get the email address of the sender
@vuchl
vuchl / GWCommand.cs
Created January 12, 2015 11:18
Retrieves the message Item when sending an email with GroupWise
// *SOURCE_FILE****************************************************************
// Copyright (C) 2005 Novell Corp., All Rights Reserved
//
// The sample code is provided 'as is' without warranty of any kind.
// Novell, Inc. further disclaims all implied warranties including
// without limitation any implied warranties of any merchantability
// or of fitness for a particular purpose. The entire risk arising out
// of the use or performance of the software and documentation
// remains with you.
//
case ForwardMessageID.GWCOMMAND00:
MessageBox.Show( "GW.MESSAGE.MAIL eGW_CMDID_FORWARD", "Execute", MessageBoxButtons.OK);
//C3PO WIZARD Put execute command code here for GW.MESSAGE.MAIL eGW_CMDID_FORWARD
C3POTypeLibrary.IGWClientState6 myCL = (C3POTypeLibrary.IGWClientState6)ForwardMessageID.g_C3POManager.ClientState;
GroupwareTypeLibrary.Message m = (GroupwareTypeLibrary.Message)myCL.CommandMessage;
MessageBox.Show("ForwardMessageID: " + m.MessageID);
break;
// oder
<template lang="jade">
#decid
h1 Add your options
input(
v-model="inputQuery"
@keyup.enter="addItem()"
)
ul#item-list(v-for="item in items", track-by="$index", transition='added-item')
li
p {{ item.item }}
@vuchl
vuchl / public.json
Created September 19, 2016 13:02
public.json
[
{"value":"Hamburg", "title":"Hamburg title", "url":"#", "text":"Lorem ipsum dolor sit amet, consectetur ..."},
{"value":"New York", "title":"New York", "url":"#", "text":"Ut enim ad minim veniam, quis nostrud ..."},
{"value":"Moscow", "title":"Moscow", "url":"#", "text":"Duis aute irure dolor in reprehenderit ..."},
{"value":"Amsterdam", "title":"Amsterdam", "url":"#", "text":"Excepteur sint occaecat cupidatat non ..."}
]
@vuchl
vuchl / flow.vue
Created September 28, 2016 13:53 — forked from ChadTaljaardt/flow.vue
<style>
</style>
<template>
<item class="item" :model="treeData"> </item>
</template>
<script>
import item from './Item.vue';
@vuchl
vuchl / ideas.md
Last active January 26, 2018 06:28
Spartenverwaltung SGM

Mannschaftsplan (JSON/HTML/XML):

@vuchl
vuchl / set_path_points.m
Last active November 28, 2017 12:48
SetPathPoints from Octave to mocked PC-Crash library
pkg load windows
pkg load io
function SetPathPoints (sCar, SNrOfPoints, Points)
endfunction
vorlauf = 72