🏄♂️
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 'package:flutter/material.dart'; | |
import 'package:partymobile/ui/custom/statefullist.dart'; | |
class DebugUiPage extends StatefulWidget { | |
DebugUiPage({Key key}) : super(key: key); | |
@override | |
_DebugUiPageState createState() => new _DebugUiPageState(); | |
} |
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 'package:flutter/material.dart'; | |
class DebugUiPage extends StatefulWidget { | |
DebugUiPage({Key key}) : super(key: key); | |
@override | |
_DebugUiPageState createState() => new _DebugUiPageState(); | |
} | |
class _DebugUiPageState extends State<DebugUiPage> |
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 'package:flutter/material.dart'; | |
typedef double GetOffsetMethod(); | |
typedef void SetOffsetMethod(double offset); | |
class DebugUiPage extends StatefulWidget { | |
DebugUiPage({Key key}) : super(key: key); | |
@override | |
_DebugUiPageState createState() => new _DebugUiPageState(); |
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 'package:flutter/material.dart'; | |
class DoubleHolder { | |
double value = 0.0; | |
} | |
class StatefulListView extends StatefulWidget { | |
final DoubleHolder offset = new DoubleHolder(); | |
StatefulListView(this._itemCount, |
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 java.io.*; | |
import java.util.*; | |
/** | |
* Created by BoldijarPaul on 31/01/2017. | |
*/ | |
public class Main { | |
public static class Location implements Comparable { | |
int x; |
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 Koa = require('koa'); | |
const app = new Koa(); | |
const server = require('http').createServer(app.callback()); | |
const WebSocket = require('ws'); | |
const wss = new WebSocket.Server({server}); | |
const Router = require('koa-router'); | |
const cors = require('koa-cors'); | |
const bodyparser = require('koa-bodyparser'); | |
app.use(bodyparser()); |
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.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace test | |
{ | |
class Program |
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
(defun preordine(l) | |
(cond | |
( ( null l ) nil ) | |
( t | |
( | |
append | |
( list ( car l ) ) | |
( preordine ( cadr l ) ) | |
( preordine ( caddr l )) |
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
<LinearLayout | |
android:id="@+id/my_layout" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:id="@+id/my_normal_layout" | |
android:orientation="horizontal" | |
android:gravity="end" | |
android:layout_width="0dp" |
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
/* drop tables */ | |
IF OBJECT_ID('dbo.stockproduct', 'U') IS NOT NULL | |
DROP TABLE dbo.stockproduct; | |
IF OBJECT_ID('dbo.product', 'U') IS NOT NULL | |
DROP TABLE dbo.product; | |
IF OBJECT_ID('dbo.category', 'U') IS NOT NULL | |
DROP TABLE dbo.category; | |
IF OBJECT_ID('dbo.stock', 'U') IS NOT NULL | |
DROP TABLE dbo.stock; |