Skip to content

Instantly share code, notes, and snippets.

View odata.cs
using Newtonsoft.Json;
using ODataUtility.Microsoft.Dynamics.DataEntities;
using System;
using System.Linq;
using Microsoft.OData.Client;
namespace ODataConsoleApplication
{
class SimpleCRUDExamples
{
View Ikovsky.py
# Ikovsky
use_synth :piano
10.times do
play 50, amp: 1, sustain: 0.2, sustain_level: 1
sleep 0.35
play 57, sustain: 0.2
sleep 0.25
play 62, sustain: 0.2
sleep 0.35
@fraga
fraga / TelnetServer.cs
Last active Sep 4, 2021 — forked from robertripoll/README.md
Telnet Server C#
View TelnetServer.cs
namespace TelnetServer
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
View keybase.md

Keybase proof

I hereby claim:

  • I am fraga on github.
  • I am fraga (https://keybase.io/fraga) on keybase.
  • I have a public key whose fingerprint is AA5F 6765 FB77 8496 98CE 8C23 427A 1324 8A7C 5EDC

To claim this, I am signing this object:

@fraga
fraga / gist:5d07180db0b0aabb7ab1
Last active Aug 29, 2015
Git Extensions Travis Build Log
View gist:5d07180db0b0aabb7ab1
Using worker: worker-linux-bb3654bb-1.bb.travis-ci.org:travis-linux-7
travis_fold:start:system_info
Build system information
Build language: c
Build image provisioning date and time
Wed Feb 4 18:22:50 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
@fraga
fraga / updateAxClass.cs
Last active Aug 29, 2015
updateAxClass
View updateAxClass.cs
static void dynUpdateAxClass(Args _args)
{
AxGenerateAxBCClass gen;
gen = AxGenerateAxBCClass::newTableId(tableNum(SalesTable));
gen.run();
}
View gist:5956607
Open .gitignore
add the following line
!packages/Microsoft.Bcl.Build*/tools/Microsoft.Bcl.Build.targets
save changes and commit
open up git bash for your repo
@fraga
fraga / SysCompileAll
Created May 22, 2013
SysCompileAll with timing
View SysCompileAll
static void main(Args args)
{
System.Diagnostics.Stopwatch stopWatch;
System.TimeSpan elapsed;
if (SysCompileAll::prompt())
{
stopWatch = new System.Diagnostics.Stopwatch();
stopWatch.Start();
View CountingJournalServiceExample.xml
<?xml version="1.0" encoding="utf-8"?>
<Envelope xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message">
<Header>
<MessageId>{8B3BB1F0-0D28-420F-8546-D6A033229C04}</MessageId>
<Action>http://schemas.microsoft.com/dynamics/2008/01/services/CountingJournalService/create</Action>
</Header>
<Body>
<MessageParts>
<CountingJournal xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/CountingJournal">
<InventJournalTable class="entity">