seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
drain = None
def get_extra_info():
pass
read = None
readexactly = None
readline = None
wait_closed = None
def write():
pass
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# BEGIN Fix Laravel Permissions Script
# Adding owner to web server group
sudo usermod -a -G ${LARAVEL_WS_GROUP} ${LARAVEL_OWNER}
# Set files owner/group
sudo chown -R ${LARAVEL_OWNER}:${LARAVEL_WS_GROUP} ${LARAVEL_ROOT}
# Set correct permissions for directories
sudo find ${LARAVEL_ROOT} -type f -exec chmod 644 {} \;
# Set correct permissions for files
sudo find ${LARAVEL_ROOT} -type d -exec chmod 755 {} \;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<title>展示</title>
<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import numpy as np
X_final = np.array(embedded_doc)
y_final = np.array(y)
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X_final,y_final,test_size = 0.33,random_state = 42)
model.fit(X_train,y_train,validation_data=(X_test,y_test),epochs=10,batch_size=64)
y_pred = model.predict_classes(X_test)
from sklearn.metrics import confusion_matrix, accuracy_score
cm = confusion_matrix(y_test,y_pred)
acc = accuracy_score(y_test,y_pred)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
public function destroy(Quest $quest)
{
$res = $quest->delete();
if ($res) {
return redirect()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// SPDX-License-Identifier: MIT
//
public struct OptionBasedMetadataContextKey<Namespace>: OptionalContextKey {
public typealias Value = PropertyOptionSet<Namespace>
public static func reduce(value: inout PropertyOptionSet<Namespace>, nextValue: PropertyOptionSet<Namespace>) {
value.merge(withRHS: nextValue)
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// This assumes no one was cheeky and messed with the map
// representation of the struct
let first_key = atom_unchecked("first");
let first = map.get(first_key).unwrap();
let last_key = atom_unchecked("last");
let last = map.get(last_key).unwrap();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
[XamlCompilation( XamlCompilationOptions.Compile )]
public partial class EditAlbumRatingsView : Grid {
public EditAlbumRatingsView() {
InitializeComponent();
}
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
self.plugin_HPO = HPOMsgProcPlugin()
self.plugin_Processing = ProcessingMsgProcPlugin()
# for each plugin
for _plugin in [self.plugin_TapeCarousel, self.plugin_HPO, self.plugin_Processing]:
# initialize each
_plugin.initialize()
# use the same taskBuffer interface
try:
del _plugin.tbIF
| ise-uiuc/Magicoder-OSS-Instruct-75K |
String,Date,Number,Boolean,Link,None;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<filename>packages/build/src/gulpfile.ts
import { series } from 'gulp'
import { buildComponents, clean } from './tasks'
export default series(clean, buildComponents)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#=============================================================================== | ise-uiuc/Magicoder-OSS-Instruct-75K |
justifyContent: 'center',
alignItems: 'center',
borderRadius: 50,
backgroundColor: Colors.light,
position: 'absolute',
right: 16,
bottom: 19,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Segar-objectsx1-easy-rgb-v1
# Segar-objectsx2-easy-rgb-v1
# Segar-objectsx3-easy-rgb-v1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Consultando se o arquivo terminou
if "=" not in arquivo[inicio:final]:
conteudo.append(arquivo[inicio:final])
arquivo = arquivo[final+2:]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
batch_size = 10
img_size = (800, 64)
random_matrix = np.random.random((batch_size, img_size[0], img_size[1]))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for (i = 0; i < VPHAL_DNDI_BUFFERS_MAX; i++)
{
BatchBuffer[i] = {};
BufferParam[i] = {};
}
// Denoise output control
iCurDNIndex = 0; //!< Current index of Denoise Output
| ise-uiuc/Magicoder-OSS-Instruct-75K |
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Other Heading\\n",
"- text\\n",
"- more text"
]
}
],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 0
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
$this->packet = $packet;
}
/**
* @param string $string
*
* @return string
*/
protected function addPackageEof(string $string): string
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.huawei.touchmenot.java.main.handar;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
real = [first_r/total_r, second_r/total_r, third_r/total_r]
return fake, real
def split_data(th_one, th_two, data):
first = 0
second = 0
third = 0
for i in data:
if i <= th_one:
third += 1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
Route::bind('tag', function ($id) {
return Category::where('type', request()->segment(3))
->findOrFail($id);
});
$this->routes(function () {
Route::prefix(config('admix.url'))
->middleware(['web', 'auth:admix-web'])
->group(__DIR__ . '/../routes/web.php');
Route::prefix(config('admix.url') . '/api')
->middleware('api')
->group(__DIR__ . '/../routes/api.php');
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.inputSpinBox2.setObjectName(self.tr("inputSpinBox2"))
self.label_3.setObjectName(self.tr("label_3"))
self.label_3.setText(self.tr("+"))
self.label.setObjectName(self.tr("label"))
self.label.setText(self.tr("Input 1"))
self.inputSpinBox1.setObjectName(self.tr("inputSpinBox1"))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
inline String &operator=(const String &target) {
this->original = target.original;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
package com.microsoft.tfs.client.common.framework.command;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
inkscape -w 96 -h 96 $L --export-filename "${L%svg}png"
N="${L%.svg}.png"
U="${X%.svg}.png"
test -e "$N" && ln -vfs "$N" "$U" || echo "Can't find new target for $X -> $L"
rm $X
done
for X in $(find *.svg -type f)
do
inkscape -w 96 -h 96 $X --export-filename "${X%svg}png"
rm $X
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __init__(self):
super().__init__()
self.c620_op = C620_OP()
self.c620_sf = C620_SF()
self.tr_c620 = TR_C620()
self.c660_mf = C660_MF()
self.tr_c620_t651 = TR_C620_T651()
self.c660_op = C660_OP()
self.c660_sf = C660_SF()
self.tr_c660 = TR_C660()
self.c670_op = C670_OP()
self.c670_sf = C670_SF()
self.tr_c670 = TR_C670()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class Position:
x: int
y: int
def __add__(self, p: Position | Any) -> Position:
if isinstance(p, Position):
return Position(self.x + p.x, self.y + p.y)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
nn.BatchNorm2d(64),
nn.ReLU(),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const absl::Status init_status = window_extractor.Initialize(
Position2D(3, 3), Position2D(2, 0), Position2D(1, 1), PaddingType::VALID);
EXPECT_THAT(init_status, StatusIs(kInvalidArgument,
HasSubstr("Expected window width > 0")));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
if self._TRAIN_TAG not in ea.Tags()['scalars']:
raise RuntimeError(f'Could not find scalar "{self._TRAIN_TAG}" in event file to extract start time.')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# poly costs
try:
net.piecewise_linear_cost = net.piecewise_linear_cost.drop(index=0)
except:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from alipay.aop.api.domain.GroupFundBill import GroupFundBill
from alipay.aop.api.domain.GroupFundBill import GroupFundBill
class AlipayFundTransGroupfundsFundbillsQueryResponse(AlipayResponse):
def __init__(self):
super(AlipayFundTransGroupfundsFundbillsQueryResponse, self).__init__()
self._batch_status = None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace JonathanRynd.IdleMinePlanner
{
class Program
{
static void PromptForCurrentStatistics(UpgradeState ua, WealthStatistics wealth)
{
PromptForCurrentUpgradeState(ua);
PromptForCurrentWealth(wealth);
}
private static void PromptForCurrentWealth(WealthStatistics wealth)
{
Console.WriteLine("Enter current gems");
wealth.Gems = ulong.Parse(Console.ReadLine());
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# make clean
make ba
# make run
# make runc
make unittest
# cd ba/c/bin; ./test_ba; cd -
# cd ba; octave-cli sim_data.m; cd -
# cd bin; octave-cli sim_plot.m; cd -
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#pragma once
#include <char_traits_impl.hpp>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
streams=config_files,
substitute=True,
allow_missing_substitutions=True,
validate=False)
g = generator.Generator(c)
g.generate(output_dir)
except exceptions.PromenadeException as e:
e.display(debug=debug)
sys.exit(e.EXIT_CODE)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class func getCurrentTime() -> String {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
setup(name = 'dcdevaluation',
version = '0.8.0' ,
packages = ['dcdevaluation'] ,
zip_safe = False )
| ise-uiuc/Magicoder-OSS-Instruct-75K |
std::mt19937 gen(rd());
std::uniform_real_distribution<> urd(-50, 50);
std::vector<double> arr(SIZE);
for (int i = 0; i < SIZE; i++) {
arr[i] = urd(gen);
}
return arr;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Note:
You may only use constant extra space.
You may assume that it is a perfect binary tree (ie, all leaves are at the same level, and every parent has two children).
For example,
Given the following perfect binary tree,
1
/ \
2 3
/ \ / \
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
long long int a, b;
scanf("%lld %lld\n", &a, &b);
Q[i].a = a;
Q[i].b = b;
}
sort(all(Q));
scanf("%d\n", &E);
for (int i = 0; i < E; ++i)
{
long long int x;
scanf("%lld", &x);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""<html href="5" existingatt='"Testing"'>Hello</html>""",
"Escaping of new attributes failed.")
def testNumberAttributeEscaping(self):
self._runTest_(
'<html existingAtt=""Testing"" tal:attributes="href uniQuote">Hello</html>',
"""<html href='Does "this" work?' existingatt='"Testing"'>Hello</html>""",
"Escaping of new attributes failed.")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
f'{interface_1.variable_name}.mouseup({name});'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub trait StorageManager {
fn storage_deposit(&mut self, account_id: Option<ValidAccountId>) -> AccountStorageBalance;
fn storage_withdraw(&mut self, amount: Option<U128>) -> AccountStorageBalance;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Returns:
int: The number of the experience tuples already in memory
"""
return len(self.states)
if __name__ == "__main__":
raise NotImplementedError("This class needs to be imported and instantiated from a Reinforcement Learning "
"agent class and does not contain any invokable code in the main function") | ise-uiuc/Magicoder-OSS-Instruct-75K |
@IBOutlet open weak var passwordTextView: SDKUIPasswordTextView?
@IBOutlet weak var useTokenButton: UIButton?
@IBOutlet open weak var nextButton: UIButton?
| ise-uiuc/Magicoder-OSS-Instruct-75K |
seshName = self.winOptions.getstr()
curses.curs_set(0)
curses.noecho()
return seshName
else:
return None
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const char HashId::kHexConversion[] = "0123456789abcdef";
} // namespace sm
| ise-uiuc/Magicoder-OSS-Instruct-75K |
p2 = np.zeros([nkeys,3])
i = 0
for k in keys:
det1 = self.db.get(k[0])
det2 = self.db.get(k[1])
dts = self.cache[k]
ddt[i] = dts['dt'] - dts['bias']
# remember that t1 and t2 are in ms, not s!
p1[i] = det1.get_xyz(Time(dts['t1']*0.001, format='unix')) # m
p2[i] = det2.get_xyz(Time(dts['t2']*0.001, format='unix'))
i += 1
dp = (p1 - p2) * rc # ms, shape [nkeys,3]
d = np.transpose(dp @ directions) # [nv,nkeys]
d = d + ddt # broadcast adding ddt to each column
logging.info('ddt = {}'.format(ddt))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class FormatNotAllowed(WxAPIException):
"""The format provided is not allowed by this endpoint"""
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for cell in run_order.order + list(run_order.errors):
for variable in cell.variable_access.writes:
if variable in self.workspace:
del self.workspace[variable]
for cell in run_order.order:
cell.run(workspace=self.workspace)
for cell, errors in run_order.errors.items():
cell.mode = 'error'
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ethylene
methane
cyclopropane
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Implemented from: UnityEngine.MonoBehaviour
// Base method: System.Void MonoBehaviour::.ctor()
// Base method: System.Void Behaviour::.ctor()
// Base method: System.Void Component::.ctor()
// Base method: System.Void Object::.ctor()
// Base method: System.Void Object::.ctor()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from app.database.models import Event
from app.routers.event import sort_by_date
from app.routers.user import get_all_user_events
def get_events_per_dates(
session: Session,
user_id: int,
start: Optional[date],
end: Optional[date]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// environment variable presentationMode accessed
// https://stackoverflow.com/questions/56517400/swiftui-dismiss-modal
@Environment(\.presentationMode) private var presentationMode
@State private var isPresentingWebView = false
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return self.company_name
| ise-uiuc/Magicoder-OSS-Instruct-75K |
global PATTERN
global last_frame
global frame_count
# resize frame to reduce processing times
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/*
irdump_printf("(%d expression ", ir->id);
PrintType(ir->type);
irdump_printf(" %s ", ir->operator_string());
for (unsigned i = 0; i < ir->get_num_operands(); i++) {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace App;
use Illuminate\Database\Eloquent\Model;
class config extends Model{
protected $table = 'config';
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
urlpatterns = patterns('',
(r'^$', 'suggestions.views.list_all'),
(r'^post/$', 'suggestions.views.add_suggestion'),
(r'^vote/(?P<suggestion_id>.*)/$', 'suggestions.views.add_vote'),
(r'^unvote/(?P<suggestion_id>.*)/$', 'suggestions.views.remove_vote'),
(r'^close/(?P<suggestion_id>.*)/$', 'suggestions.views.close'),
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#!/bin/bash
# usage: ./assertEquals $origin_value $comparsion_value
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# both are Space
return (a.col - b.col) ** 2 + (a.row - b.row) ** 2
def a_star_search(start: Position, goal: Position) -> List[Position]:
if start is None:
raise Exception("Start is None")
if goal is None:
raise Exception("goal is None")
if start == goal:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <param name="sender">The sender.</param>
/// <param name="args">The arguments.</param>
private void HandlePageLifecycleChanged(object sender,
PageLifecycleMessage args)
{
// Make sure the sender is our page
if (!sender.IsAnEqualReferenceTo(PageEventProvider?.GetEventBroadcaster?.Invoke()))
{
return;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
binary_char = bin(ord(char))
binary_char_strip = binary_char[2:]
# A zero-width sequence will begin with a zero-width joiner.
accumulator = u"\u200D"
for digit in binary_char_strip:
# Zeros are encoded with zero-width spaces.
if(digit == '0'):
accumulator += u"\u200B"
# Ones are encoded with zero-width non-joiners.
else:
accumulator += u"\u200C"
accumulator += u"\u200D"
ls.append(accumulator)
return ls
| ise-uiuc/Magicoder-OSS-Instruct-75K |
test_list_i32()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
default_detail = "Validation failed"
default_code = "bad_request"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def __SetTimeStamp(self) -> int:
"""设置网络请求的时间戳
:return: 返回设置的时间戳
"""
self.__TimeStamp = int(time.time() * 1000)
return self.__TimeStamp
def __CreateParams(self) -> dict:
"""创建网络请求必要的负载
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace SalesTaxes
{
public abstract class TaxRule
{
public decimal SalesTaxRate { get; set; }
public decimal SalesTaxAmount { get; set; }
public abstract decimal CalculateTax(Product product);
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
selector: "ns-email-validator",
providers: [EmailValidatorService],
moduleId: module.id,
templateUrl: "./email-validator.component.html",
styleUrls: ["./email-validator.component.css"]
})
export class EmailValidatorComponent implements OnInit {
email: string;
response: string
constructor(private emailValidatorService : EmailValidatorService, private location : Location, private routerExtension: RouterExtensions) { }
ngOnInit() {
this.email = "";
this.response = "Waiting for email to validate"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def generate():
col_list = list(Strain.__mapper__.columns)
col_order = [1, 0, 3, 4, 5, 7, 8, 9, 10, 28, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 2, 6]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
`;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
false
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
VALUE_MAP = {
"locked": {False: None, True: "not a None"},
"fresh": {False: False, True: True},
"remove": {False: set(), True: ("b", "a")},
"update": {False: {}, True: {"y": 2.3, "x": 1, "z": "dummy"}},
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
]:
ret = aptpkg.get_repo(repo=test_repo)
assert not ret
@pytest.mark.destructive_test
def test_del_repo(revert_repo_file):
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// <summary>Anies the given request.</summary>
///
/// <exception cref="UnRetryableMessagingException">Thrown when an Un Retryable Messaging error condition occurs.</exception>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.infinispan.configuration.cache.Index;
import org.infinispan.manager.EmbeddedCacheManager;
import org.infinispan.test.fwk.TestCacheManagerFactory;
import org.infinispan.transaction.TransactionMode;
import org.testng.annotations.Test;
//todo This does not seem to actually test compatibility if no data is put via the remote client. I think EmbeddedCompatTest already tests this. need to check if other Compat test have this issue
/**
* Verify query DSL in compatibility mode.
*
* @author <NAME>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
operations = [
migrations.AlterModelOptions(
name='contactnumbers',
options={'verbose_name_plural': 'Contact Points'},
),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
triangle(20, 20, 20, 50, 50, 20)
triangle(200, 100, 200, 150, 300, 320)
triangle(700, 500, 800, 550, 600, 600) | ise-uiuc/Magicoder-OSS-Instruct-75K |
user = {}
user["email"] = event["request"]["userAttributes"]["email"]
user["nickname"] = event["request"]["userAttributes"]["nickname"]
dao.connectToDatabase()
dao.insertUser(user)
return event
| ise-uiuc/Magicoder-OSS-Instruct-75K |
try
{
string states = StatMessaging.ReadInfo(LocalClient.SelectedCreatureId, statMessagingKey.Value);
string prefix = "";
float value;
if (!float.TryParse(states, out value))
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { shortName } from "./package";
export const docLink = (pkgName: string) =>
link("Generated API docs", `${CONFIG.docURL}/${shortName(pkgName)}/`);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"/keys/" + AS_ROOT_CERT_FILENAME
ENCLAVE_INFO_PATH = os.environ['TEACLAVE_PROJECT_ROOT'] + \
"/release/tests/enclave_info.toml"
else:
AS_ROOT_CA_CERT_PATH = "../../keys/" + AS_ROOT_CERT_FILENAME
| ise-uiuc/Magicoder-OSS-Instruct-75K |
@Input() set id(value: number) {
this._id = value;
}
set dateFrom(value: string) {
this._dateFrom.next(new Date(value));
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
felix = Gato('Felix', 'Felino', 'Angorá')
felix.faz_som('miau')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class NumericAttributeValue(AttributeValue):
type: str = field(default="co.yellowdog.platform.model.NumericAttributeValue", init=False)
attribute: str
| ise-uiuc/Magicoder-OSS-Instruct-75K |
test('Match the snapshot', () => {
expect(wrapper.html()).toMatchSnapshot()
})
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//
#ifndef PMQ_QOS_HANDLER_FACTORY_HPP
#define PMQ_QOS_HANDLER_FACTORY_HPP
| ise-uiuc/Magicoder-OSS-Instruct-75K |
export PATH="/opt/homebrew/opt/node@16/bin:$PATH" | ise-uiuc/Magicoder-OSS-Instruct-75K |
-r run_-165_75.rst \
-x run_-165_75.nc
| ise-uiuc/Magicoder-OSS-Instruct-75K |
graph_id: str
base_dir: str
hel_extent_fp: str
with_noise_data: bool
with_greenery_data: bool
conf = GraphExportConf(
'kumpula',
'graph_build/graph_export',
'graph_build/common/hel.geojson',
True,
True
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print('Unwrapping all items from the big list')
key_skipped = 0#
frame_kp_skipped = 0#
for key in tqdm(sorted(big_list.keys())):
if len(big_list[key]) == 0:
print('key:', key)
key_skipped += 1
for frame_kp in big_list[key]:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
const value: any = target[prop];
if (typeof value === 'function') return value.bind(target);
return value;
}
// delegate to indexer property
if ((typeof prop === 'string' || typeof prop === 'number') && !isNaN(prop as unknown as number)) {
const param = parseInt(prop as string, 10);
return target.item(param);
}
},
});
return proxy;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.header_panel = wx.Panel(self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL)
self.header_sizer = wx.BoxSizer(wx.VERTICAL)
self.description_txt = wx.StaticText(self, wx.ID_ANY, logger.transtext("パラ調整タブで材質を選択して、パラメーターを調整してください。\n") + \
logger.transtext("※パラ調整タブで変更した値は詳細タブに反映されますが、逆方向には反映されません"), wx.DefaultPosition, wx.DefaultSize, 0)
self.header_sizer.Add(self.description_txt, 0, wx.ALL, 5)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
test: 'ddf'
}
// const [name, setName] = useState(() => states.test)
// const [name, setName] = useState(states.test)
// setName('')
// setName(name => name + '');
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public void Remove(string uniqueid)
{
Main.Safe(() =>
{
if (OwlcatSettings.EnabledModifications.Remove(uniqueid))
Save();
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
tea.setTeacherid(rSet.getString(2));
tea.setTname(rSet.getString(3));
tea.setPassword(<PASSWORD>(4));
tea.setPhone(rSet.getString(5));
tea.setSchool(rSet.getString(6));
tea.setAcademy(rSet.getString(7));
tea.setDepartment(rSet.getString(8));
list.add(tea);
}
} catch (SQLException e) {
// TODO Auto-generated catch block
| ise-uiuc/Magicoder-OSS-Instruct-75K |
throw|throw
name|asRestApiException
argument_list|(
literal|"Cannot create change edit"
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* React Native SQLite Demo
* Copyright (c) 2018-2020 <NAME> <<EMAIL>>
* https://github.com/blefebvre/react-native-sqlite-demo/blob/master/LICENSE
*/
export const DATABASE = {
FILE_NAME: "AppDatabase.db",
BACKUP_FILE_NAME: "AppDatabase_Backup.db",
};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'currency.currency_code',
'address_format_id',
'mailing_address_id',
'billing_address_id',
'country.country_name',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.