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
cargo-x86_64-unknown-linux-gnu (default) | |
rls-preview-x86_64-unknown-linux-gnu | |
rust-analysis-x86_64-unknown-linux-gnu | |
rust-docs-x86_64-unknown-linux-gnu (default) | |
rust-src | |
rust-std-aarch64-apple-ios | |
rust-std-aarch64-linux-android | |
rust-std-aarch64-unknown-fuchsia | |
rust-std-aarch64-unknown-linux-gnu | |
rust-std-aarch64-unknown-linux-musl |
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
import React, { PureComponent } from 'react' | |
import { connect } from 'react-redux' | |
import styled from 'styled-components' | |
import PropTypes from 'prop-types' | |
import { | |
setGifData, | |
unsetData, | |
updateGifData, | |
} from '../redux/actions/gif' | |
import { api } from '../helpers/api' |
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
use std::f32::consts; | |
struct Area { | |
x: i32, | |
y: i32, | |
r: f32, | |
} | |
impl Area { | |
fn new(x: i32, y: i32, r: f32) -> Area { |
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
struct Circle { | |
x: f64, | |
y: f64, | |
radius: f64, | |
} | |
impl Circle { | |
fn area(&self) -> f64 { | |
std::f64::consts::PI * (self.radius * self.radius) | |
} |
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
const socket = new net.Socket | |
function create() { | |
vm.run(code) | |
socket.abort() | |
} | |
socket.on('data', () => { | |
create() // x 3 and 1st hung up. what to do ? | |
}) |
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
const net = require('net') | |
const server = new net.Server() | |
server.on('connection', (socket) => { | |
socket.on('data', (data) => { | |
if (data.channel === 'sandbox:create:user_id ?') { | |
try { | |
create(socket, data) | |
} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="ad.size" content="width=240,height=400"> | |
<title>240x400v3</title> | |
<script src="libs/easeljs-0.8.1.min.js"></script> | |
<script src="libs/tweenjs-0.6.1.min.js"></script> |
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
<!DOCTYPE html> | |
<!-- | |
NOTES: | |
1. All tokens are represented by '$' sign in the template. | |
2. You can write your code only wherever mentioned. | |
3. All occurrences of existing tokens will be replaced by their appropriate values. | |
4. Blank lines will be removed automatically. | |
5. Remove unnecessary comments before creating your template. | |
--> | |
<html> |
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
<!DOCTYPE html> | |
<!-- | |
NOTES: | |
1. All tokens are represented by '$' sign in the template. | |
2. You can write your code only wherever mentioned. | |
3. All occurrences of existing tokens will be replaced by their appropriate values. | |
4. Blank lines will be removed automatically. | |
5. Remove unnecessary comments before creating your template. | |
--> | |
<html> |
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
import React, { Component } from 'react' | |
import { connect } from 'react-redux' | |
import { ToastContainer, toast } from 'react-toastify' | |
import { getStub } from '../../redux/stub/selectors' | |
import { getFirmware } from '../../redux/firmware/selectors' | |
import { getState } from '../../redux/tree-folder/selectors' | |
import { getStateBorder } from '../../redux/banner/selectors' | |
import { getStateFetch } from '../../redux/stopped-banner/selectors' | |