Skip to content

Instantly share code, notes, and snippets.

Giuseppe giupo

  • Roma, Italy
Block or report user

Report or block giupo

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
@giupo
giupo / bmstest.cpp
Last active May 15, 2019
Smashing my head on FalconTexturesSharedMemoryArea
View bmstest.cpp
#include <iostream>
#include <Windows.h>
#include "SFML/Graphics.hpp"
#include "dds.hpp"
#define FALCON_TEXTURE_SHM "FalconTexturesSharedMemoryArea"
int main(int argc, char** argv) {
@giupo
giupo / snippet.cpp
Last active Apr 30, 2019
Texture da BMS
View snippet.cpp
include <Windows.h>
HANDLE textureDataMemHandle = NULL;
long* textureData = NULL;
do {
textureDataMemHandle = OpenFileMapping(FILE_MAP_ALL_ACCESS, TRUE,
TEXT("FalconTexturesSharedMemoryArea"));
if (!textureDataMemHandle) {
std::cout << "Unable to open file. Is Falcon Running?\n";
} else {
@giupo
giupo / ripristino.r
Created Jul 5, 2018
ripristinoGrafo
View ripristino.r
require(rcf)
elimina("cf10")
con = pgConnect()
GrafoDB:::.copyGraph(from="cf10p2674", to="cf10", con=con)
@giupo
giupo / test.r
Created Apr 9, 2018
Test script for R
View test.r
message("Hello World!")
@giupo
giupo / init.el
Created Mar 19, 2018
Emacs config
View init.el
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
(server-start)
(setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
View provision_nginx.sh
#!/usr/bin/env bash
PREFIX=`pwd`/repec
export CFLAGS="-I${PREFIX}/include"
export CXXFLAGS="-I${PREFIX}/include"
NCPU=`grep -c ^processor /proc/cpuinfo`
if [ ! -d "$(pwd)/pcre-8.4.1" ]; then
View ProgrammersOath.rst

Programming Oath

  1. I will not produce harmful code.
  2. The code that I produce will always be my best work. I will not knowingly allow code that is defective either in behavior or structure to accumulate.
  3. I will produce, with each release, a quick, sure, and repeatable proof that every element of the code works as it should.
@giupo
giupo / concorso.org
Created Jul 29, 2017
Argomenti concorso
View concorso.org

Concorso Expert (orientamento informatico, lettera E.) [0%]

  • [ ] La modellazione dei requisiti e le tecniche per l’analisi dei fabbisogni [0%]
  • [ ] I metodi dello sviluppo del software e la loro logica (es. prototipizzazione, metodi agili, rerverse engineering, ecc…) [0%]
  • [ ] Le metriche connesse allo sviluppo dellel applicazioni [0%]
  • [ ] Enteprise Application Integration: Service Oriented Architecture, web service [0%]
  • [ ] Metodologie di Project Management [0%]
  • [ ] Requisiti dell’architettura di sistemi: prestazioni, manutenibilita’, estendibilita’, scalabilita’, disponibilita’, affidabilita’, sicurezza, accessibilita’ [0%]
  • [ ] Sistemi operativi: principi di funzionamento, processi e gestione delle risorse. Tecnologie per la virtualizzazione [0%]
  • [ ] Architetture dei sistemi elaborativi: architetture centralizzate (mainframe o server-based) architetture distribuite (Grid, Cloud computing, High Performance Computing, peer-to-peer) [0%]
  • [ ] DBMS: progettazione logica e fisica delle basi di
@giupo
giupo / udpserver.py
Created Apr 4, 2017 — forked from jamiesun/udpserver.py
tornado UDP server
View udpserver.py
#!/usr/bin/env python
#coding=utf-8
import socket
import os
import errno
from tornado.ioloop import IOLoop
from tornado.platform.auto import set_close_exec
class UDPServer(object):
def __init__(self, io_loop=None):
View gist:4e8a7ed1956c2fcf257241675cc82e27
Server di generazione: impresasemplice.it
vac.portuense@aslromad.it
#550 5.2.2 STOREDRV.Deliver: mailbox full. The following information should help identify the cause: "MapiExceptionShutoffQuotaExceeded:16.18969:B9000000, 17.27161:0000000094000000000000000000000000000000, 255.23226:00000000, 255.27962:FE000000, 255.17082:DD040000, 0.26937:0E000000, 4.21921:DD040000, 255.27962:FA000000, 255.1494:00000000, 255.26426:FE000000, 4.7588:0F010480, 4.6564:0F010480, 4.4740:05000780, 4.6276:05000780, 4.5721:DD040000, 4.6489:DD040000, 4.2199:DD040000, 4.17097:DD040000, 4.8620:DD040000, 255.1750:DD040000, 0.26849:DD040000, 255.21817:DD040000, 0.26297:DD040000, 4.16585:DD040000, 0.32441:DD040000, 4.1706:DD040000, 0.24761:DD040000, 4.20665:DD040000, 0.25785:DD040000, 4.29881:DD040000". ##
Intestazioni originali del messaggio:
Received: from COPIRN01.copdmz.local (10.32.123.165) by COPMMX01B03
(10.32.95.18) with Microsoft SMTP Server id 8.3.406.0; Tue, 1 Nov 2016
22:09:20 +0100
You can’t perform that action at this time.