UI_BRIDGE_CALL(b, stop, 1, b);はui_bridge_stop_eventを呼ぶ inui_bridge_stopui_bridge_attachでui_bridge_stopをセットしてる- これらを呼び出す
ui_call_stopがos_exitの中で呼ばれてる
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 cheerio = require('cheerio'); | |
| const fetch = require('node-fetch'); | |
| const fs = require('fs'); | |
| // roles["roles/accesscontextmanager.policyAdmin"]["en"] | |
| const roles = {}; | |
| async function makePredefinedRoles(locale) { | |
| const response = await fetch( | |
| `https://cloud.google.com/iam/docs/understanding-roles?hl=${locale}` |
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
| module github.com/Code-Hex/gql-filter | |
| go 1.16 | |
| require ( | |
| github.com/graphql-go/graphql v0.7.9 // indirect | |
| github.com/k0kubun/pp v3.0.1+incompatible // indirect | |
| github.com/mattn/go-colorable v0.1.8 // indirect | |
| ) |
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
| import { FC } from 'react' | |
| type GoogleLogoProps = { | |
| className: string | |
| } | |
| const GoogleLogo: FC<GoogleLogoProps> = (props: GoogleLogoProps) => { | |
| return ( | |
| <svg | |
| xmlns="http://www.w3.org/2000/svg" |
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
| class Grafana < Formula | |
| desc "Gorgeous metric visualizations and dashboards for timeseries databases" | |
| homepage "https://grafana.com" | |
| url "https://github.com/grafana/grafana/archive/v7.3.5.tar.gz" | |
| sha256 "c63cf5b24733261386777a91e34b2d7646965e4a9adcea64dca519c5bc2cbede" | |
| license "Apache-2.0" | |
| head "https://github.com/grafana/grafana.git" | |
| bottle do | |
| cellar :any_skip_relocation |
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
| package main | |
| /* | |
| #cgo darwin CFLAGS: -x objective-c -fobjc-arc | |
| #cgo darwin LDFLAGS: -lobjc -framework Foundation -framework Virtualization | |
| # include "virtualization.h" | |
| */ | |
| import "C" | |
| import ( | |
| "fmt" |
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
| import styled from 'styled-components' | |
| | |
| export const Calendar = ({ date }) => { | |
| const month = ['Jan','Feb','Mar','Apr','May','June','July','Aug','Sept','Oct','Nov','Dec'] | |
| return ( | |
| <Border color="#000"> | |
| <Header>{month[6]}</Header> | |
| <Body>25</Body> | |
| </Border> | |
| ) |
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
| " https://github.com/google/vim-maktaba/blob/f630b985facf383ae1657d569ff69582224cca04/autoload/maktaba/path.vim#L9 | |
| func s:pathJoin(left, right) | |
| if a:left =~# '\v\\@<!%(\\\\)*\zs/$' | |
| return a:left . a:right | |
| elseif empty(a:left) | |
| return a:right | |
| endif | |
| return a:left . '/' . a:right | |
| endfunc |
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
| use futures::future::{Abortable, AbortHandle, Aborted}; | |
| use futures::executor::block_on; | |
| fn main() { | |
| println!("Hello, world!"); | |
| block_on(run()); | |
| } | |
| async fn run() { |
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
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/signal" | |
| "syscall" | |
| ) | |
| func main() { |