This file contains hidden or 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
<template> | |
<section class="container"> | |
<img :src="`https://github.com/${user.login}.png`" :alt="user.name"> | |
<h1>{{user.name}}</h1> | |
</section> | |
</template> | |
<script> | |
import axios from 'axios' |
This file contains hidden or 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
exports.handler = function(_, __, callback){ | |
const axios = require('axios'); | |
const firebase = require('firebase'); | |
const misskey = Object.assign({}, axios); | |
// 悪 | |
const CSRF_TOKEN = 'YOUR-MISSKEY-CSRF-TOKEN' | |
const APPNO = 'YOUR-PUSH7-APPNO' | |
const APIKEY = 'YOUR-PUSH7-APIKEY' | |
const COOKIE = 'YOUR MISSKEY.LINK COOKIE'; |
This file contains hidden or 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
<script> | |
p7.ready() | |
.then(function(p7){ | |
const $$ = function(e){ return document.querySelectorAll(e) }; | |
for(var button of $$('.subscribe-button')){ | |
button.addEventListener('click', function(){ | |
p7.subscribe(); | |
}) | |
} | |
}) |
This file contains hidden or 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
{ | |
"event":"push", | |
"type":"UserChat", | |
"entity":{ | |
"id":"149139", | |
"channelId":"1148", | |
"personType":"Veil", | |
"personId":"599bf2f432e826c8", | |
"state":"open", | |
"lastMessageId":"599bf2fe223aeff7", |
This file contains hidden or 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
[potato4d@Potato4d cfl_test]$ npm run test | |
> [email protected] test /Users/potato4d/Desktop/cfl_test | |
> coffeelint application.coffee | |
⚡ application.coffee | |
⚡ #2: Unnecessary double quotes are forbidden. | |
⚡ Warning! » 0 errors and 1 warning in 1 file |
This file contains hidden or 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
const services = [] | |
const serviceList = ["serviceA", "serviceB", "serviceD"]; | |
serviceList.map((s)=>{ | |
System.import("./services/" + s) | |
.then((mod)=>{ | |
services.push(mod); | |
}) | |
}); |
This file contains hidden or 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
Array(20).fill(0).map((_,i)=>i?((!(i%3)?"Fizz":'')+(!(i%5)?"Buzz":''))||i:0) |
This file contains hidden or 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
alias http="open http://0.0.0.0:8080 & php -S 0.0.0.0:8080" |
This file contains hidden or 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
const dialog = require('electron').dialog; | |
const OauthTwitter = require('electron-oauth-twitter'); | |
const twitter = new OauthTwitter({ | |
key : "YOUR_TWITTER_KEY", | |
secret: "YOUR_TWITTER_SECRET", | |
}); | |
twitter.startRequest() |
This file contains hidden or 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
javascript:document.querySelectorAll(`#suggest-supports-of-friend-companies-form .support-project-title.with_avatar > input[type="checkbox"]`).forEach(e=>e.click()); |