-
Run the command:
python pixiv_auth.py login
This will open the browser with Pixiv login page.
func DownloadLicense(ctx *gin.Context) {
content:="Download file here happliy"
fileName := "hello.txt"
ctx.Header("Content-Disposition", "attachment; filename="+fileName)
ctx.Header("Content-Type", "application/text/plain")
ctx.Header("Accept-Length", fmt.Sprintf("%d", len(content)))
ctx.Writer.Write([]byte(content))
ctx.JSON(http.StatusOK, gin.H{
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using Microsoft.Xna.Framework; | |
//Faster linq-style convenience functions https://github.com/jackmott/LinqFaster | |
using JM.LinqFaster; | |
namespace DrawAndDrive | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The ASCII arts were extracted from: | |
* - http://www.fiikus.net/?pokedex | |
* - http://www.world-of-nintendo.com/pictures/text/ | |
* And also generated with: | |
* - http://www.text-image.com | |
*/ | |
#ifndef __POKE_IMG__ | |
#define __POKE_IMG__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <windows.h> | |
#include <gdiplus.h> | |
#include <time.h> | |
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid) { | |
using namespace Gdiplus; | |
UINT num = 0; | |
UINT size = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;SMBDIS.ASM - A COMPREHENSIVE SUPER MARIO BROS. DISASSEMBLY | |
;by doppelganger (doppelheathen@gmail.com) | |
;This file is provided for your own use as-is. It will require the character rom data | |
;and an iNES file header to get it to work. | |
;There are so many people I have to thank for this, that taking all the credit for | |
;myself would be an unforgivable act of arrogance. Without their help this would | |
;probably not be possible. So I thank all the peeps in the nesdev scene whose insight into | |
;the 6502 and the NES helped me learn how it works (you guys know who you are, there's no |