Skip to content

Instantly share code, notes, and snippets.

View svjunic's full-sized avatar
🐬

sv.junic svjunic

🐬
View GitHub Profile
@svjunic
svjunic / gist:9470d837c1dbbe0b95137606484f80a3
Created November 8, 2019 05:40 — forked from cucmberium/gist:e687e88565b6a9ca7039
Twitterの検索API & Twitterでの検索術

twitterの検索術 (search/tweetssearch/universal)

search/tweets では一週間以上前のツイートは検索できないので注意

search/universal は公式のConsumerKey/ConsumerSecretでないと使用できない

当方では一切の責任を負いません

@svjunic
svjunic / graphql-study-1.md
Last active October 25, 2019 04:27
graphqlのおべんきょ

GraphQL

GraphQLは、2012年にFacebookによって社内で開発された後、2015年に公開されました。 GraphQLプロジェクトは、2018年11月7日にFacebookから非営利のLinux Foundationがホストする新しく設立されたGraphQL Foundationに移行しました。 GithubのAPIがGraphQLに移行したことが有名。

概要

サーバサイドで動くプログラム(以降、GraphQLサーバ) GraphQLはAPI用のクエリ言語です。 やり取りの方法は、以下三種類で使い分けます。(間違ってたらごめん)

  • データの取得をQuery
@svjunic
svjunic / development-environment.md
Last active May 10, 2016 07:54
開発環境についてのメモ書き

開発環境についてのメモ書き

最初は最低限のイメージファイルを配布して解決するほう楽かと検討していた。
ただ、動作が遅そう、作業しにくそう、という問題はあった。

こんな状況でした。

  • はじめは作業者も少なく、データも貰えていなかった状態で仮の環境を作っていた
  • 実データをもらった
  • シンボリックリンク無数に存在、サーバの設定ファイルでごまかしているところも無数にあることを確認
  • htmlのパスも自動で変更されている模様
@svjunic
svjunic / gist:df13d8f9bf80f8f4653e
Created March 4, 2016 05:00
vim 7.4 with lua+GUI on Ubuntu 14.04 Raw
#!/bin/sh
# It was in reference
# https://gist.github.com/akolosov/cedaac86b333a4ced95f
# http://www.vim.org/movetogithub.php
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev mercurial libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev libxpm-dev libxt-dev
sudo mkdir /usr/include/lua5.1/include
@svjunic
svjunic / ms_edge.md
Last active October 23, 2015 08:27
マイクロソフトの新ブラウザ「Microsoft Edge」セミナー メモ

Edgeじゃなくてもxxなら対応してなかった?という細かいツッコミは言わない 要約してる箇所多め。 Edge売り込みなので、若干都合のいい説明している箇所或いは将来的によくなると説明しているがあるように思うため、客観的な視点は必要。

マイクロソフトの新ブラウザ「Microsoft Edge」セミナー

Microsoft Edge 概要

Modern Webを提供するMicrosoft Edge

vagrantとdockerの環境作るめも

参考サイト:http://qiita.com/hidekuro/items/fc12344d36d996198e96#3-8

関連コマンドインストール

caskはGUIのツールをコマドラインで実行するもの

brew install caskroom/cask/brew-cask

brew cask install virtualbox

(function (window) {
// This library re-implements setTimeout, setInterval, clearTimeout, clearInterval for iOS6.
// iOS6 suffers from a bug that kills timers that are created while a page is scrolling.
// This library fixes that problem by recreating timers after scrolling finishes (with interval correction).
// This code is released in the public domain. Do with it what you want, without limitations. I do not promise
// that it works, or that I will provide support (don't sue me).
// Author: rkorving@wizcorp.jp
var timeouts = {};
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="sv-junic-button">
<template>
<style>
:host {
position: static;
width: 100%;
height: 100%;
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;