Skip to content

Instantly share code, notes, and snippets.

👌

Marc-André Dufresne MarcDufresne

👌
Block or report user

Report or block MarcDufresne

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View active_hours_task.ps1
Param(
[alias('n')]
[string]$taskName,
[alias('s')]
[string]$scriptLocation,
[alias('d')]
[switch]$deleteTask,
[alias('h')]
[switch]$help
)
@MarcDufresne
MarcDufresne / d2_solo.ps1
Created Sep 3, 2019
Destiny 2 Solo Mode
View d2_solo.ps1
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`"" -Verb RunAs; exit }
New-NetFirewallRule -DisplayName "Destiny2-Solo-1" -Direction Outbound -LocalPort 1935,3097,3478-3480 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-2" -Direction Outbound -LocalPort 1935,3097,3478-3480 -Protocol UDP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-3" -Direction Inbound -LocalPort 1935,3097,3478-3480 -Protocol TCP -Action Block
New-NetFirewallRule -DisplayName "Destiny2-Solo-4" -Direction Inbound -LocalPort 1935,3097,3478-3480 -Protocol UDP -Action Block
Write-Host "Destiny 2 Solo mode activated. Press any key to deactivate solo mode."
Read-Host
@MarcDufresne
MarcDufresne / post.bb
Last active Feb 20, 2018
[ANN][M0RK] m0rkcoin - Open-Source and Quality focus - NO PREMINE/NO ICO
View post.bb
[b]About m0rkcoin[/b]
m0rkcoin is a fork of ByteCoin and has a strong focus on privacy and anonymity, with features like:
[list]
[li]Untraceable payments[/li]
[li]Unlinkable transactions[/li]
[li]Double-spending proof[/li]
[/list]
m0rkcoin focuses on open-source, community, quality and ease of use. We will release all software we create as open-source with permissive license, pull requests, suggestions and feedback is welcome. We aim to create quality apps built on top of modern technology stacks.
@MarcDufresne
MarcDufresne / Instructions.md
Created Jan 12, 2018
m0rkcoind seed node setup
View Instructions.md

DigitalOcean Ubuntu

Requirements

In /root/:

apt-get update && apt-get install -y supervisor
wget https://api.montreal.ormuco.com:6780/swift/v1/m0rkcoin-v2/m0rkcoind
chmod +x m0rkcoind
View keybase.md

Keybase proof

I hereby claim:

  • I am marcdufresne on github.
  • I am madx23 (https://keybase.io/madx23) on keybase.
  • I have a public key whose fingerprint is CE5C EC33 05B3 764E 71EF 0D8A 7FD1 3DFD 4B20 B057

To claim this, I am signing this object:

@MarcDufresne
MarcDufresne / transmeta.py
Created May 14, 2015
Kind of TransMeta Mongo/Flask
View transmeta.py
def get_fieldname(field, lang):
return "{}_{}".format(field, lang)
def safe_get_value(field):
def get_value(self):
field_name = lambda x: get_fieldname(field, x)
@MarcDufresne
MarcDufresne / custom_feed.py
Last active Aug 29, 2015
Custom XML Feed in Django
View custom_feed.py
# -*- coding: utf-8 -*-
"""
Custom Django Feed
"""
from django.contrib.syndication.views import Feed
from django.utils.feedgenerator import SyndicationFeed
from django.utils.xmlutils import SimplerXMLGenerator
class CustomSyndicationFeed(SyndicationFeed):
You can’t perform that action at this time.