seed stringlengths 1 14k | source stringclasses 2
values |
|---|---|
</>
)
}
export default Header
| ise-uiuc/Magicoder-OSS-Instruct-75K |
]
},
"time": 1453348072.861
}
'''
def getOutSpeed(self, host, data):
beforeData = self.before.get(host)
nowTime = data["time"]
nowData = {}
self.before[host] = data
if beforeData is not None:
beforeTime = beforeData["time"]
beforeData = beforeData["data"]
for beforeKey in beforeData:
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Solution: -
// In this case it is not possible to construct a distinct answer always.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Text;
using Newtonsoft.Json;
namespace AbpVueCli.Utils
{
public static class ObjectExtensions
{
public static string ToJson(this object obj, Formatting formatting = Formatting.None)
{
return JsonConvert.SerializeObject(obj, formatting);
}
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print()
class HWPScanner:
def __init__(self) -> None:
self.__platform__ = platform.platform()
self.hwpx_flag = False
self.ole_parser = OleParser()
self.hwp_parser = None
pass
def parse_hwpdoc(self, file_name):
self.file_name = file_name
| ise-uiuc/Magicoder-OSS-Instruct-75K |
*/
public function index()
{
// select * from users
$users = User::all();
// select * from condominiums;
$condominiumList = Condominium::all();
return view('condominium.lista', array(
'xptoCollection' => $condominiumList, 'users' => $users
));
}
public function search(Request $request)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<div class="table-responsive">
<table id="myTablereg" class=" table table-bordered table-striped table-hover datatable datatable-CrecRegDoc">
<thead>
<tr>
| ise-uiuc/Magicoder-OSS-Instruct-75K |
:return:
"""
j.builders.apps.sonic.install()
j.servers.sonic.default.start()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def get_use_bcp(self):
return True
def _mock_loop(self):
self.mock_server = MockServer(self.clock.loop)
self.clock.mock_server("127.0.0.1", 5051, self.mock_server)
@asyncio.coroutine
def _get_and_decode(self, client) -> Generator[int, None, Tuple[str, dict]]:
data = yield from client.send_queue.get()
return decode_command_string(data[0:-1].decode())
def _encode_and_send(self, client, cmd, **kwargs):
client.recv_queue.append((encode_command_string(cmd, **kwargs) + '\n').encode())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
impl<'a, I: Interrupt> Future for InterruptFuture<'a, I> {
type Output = ();
| ise-uiuc/Magicoder-OSS-Instruct-75K |
db.hotels.insert(hotel)
print j
j+=1
| ise-uiuc/Magicoder-OSS-Instruct-75K |
cell.accessoryType = .disclosureIndicator
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import pandas as pd
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# TODO(147335651): Support "--gpu" without giving any value.
parser.add_argument(
"--gpu",
type=str,
const=_DEFAULT_GPU,
nargs="?",
dest="gpu",
required=False,
default=None,
help="GPU accelerator to use if any. e.g. nvidia-tesla-k80. For local "
"instances, this arg without assigning any value is to enable "
| ise-uiuc/Magicoder-OSS-Instruct-75K |
else:
if len(bad) > 0:
print('\n'.join(bad))
sys.exit(1)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>yuto-moriizumi/Assorted-Sorts<filename>merge.py
array = [116, 176382, 94, 325, 3476, 4, 2542, 9, 21, 56, 322, 322]
print(array)
SENTINEL = 10**12
| ise-uiuc/Magicoder-OSS-Instruct-75K |
struct Metadata
{
std::string title;
std::string version;
std::string developer;
std::string iconFilepath;
std::string entrySceneFilepath;
} metadata;
struct WindowSettings
{
uint16_t height;
uint16_t width;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
ctx.pipeline_parallel_size,
ctx.tensor_parallel_size
)
return A_grad, B_grad, None, None, None, None, None, None, None, None, None, None, None, None, None
class Add_Bias_2p5D(torch.autograd.Function):
"""Matrix add bias: :math:`C = A + b`
"""
@staticmethod
@custom_fwd(cast_inputs=torch.float16)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
println!(
"{}: system has too much memory ({:.1}MB), limit is {}MB, ignoring.",
dev.name, memtotal_mb, limit,
);
Ok(None)
}
_ => {
dev.disksize = (dev.zram_fraction * memtotal_mb) as u64 * 1024 * 1024;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
handlers=handlers
)
logging.info("Running dhydamo model generator.")
class ProgressLogger:
def __init__(self, logger, total, step):
self.logger = logger
self.total = total
self.lastp = -1
self.step = step
def set_step(self, i):
percentage = int(round(((i+1) / (self.total)) * 100))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from distutils.core import setup
import glob
from setuptools import setup
def read_md(file_name):
try:
from pypandoc import convert
return convert(file_name, 'rest')
except:
return ''
setup(
name='clickmodels',
| ise-uiuc/Magicoder-OSS-Instruct-75K |
namespace ExtenFlow.Messages.Commands
{
/// <summary>
/// Defines an command processor
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class BasicTest(unittest.TestCase):
def test_network_interfaces(self):
self.assertIsNotNone(helpers.get_network_interfaces())
if __name__ == '__main__':
unittest.main()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
/// Training ground for testing the trained network.
pub mod training_ground;
const BIAS_VALUE: f64 = 1.0;
const MINIMUM_POPULATION_SIZE: usize = 4;
/// Specimen is used to exchange the neural network data
/// with the outside world.
///
/// This is the struct you use for transferring the
/// neural network instances to and from the `easyneural` crate.
#[derive(Clone, Debug, Deserialize)]
pub struct Specimen {
pub brain: network::NetworkLayout,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Description = apiDescription?.Description ?? "The API description."
};
if(versionDescription?.IsDeprecated == true)
{
info.Description += "<br/><br/><strong>This API version has been deprecated.</strong>";
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# print(face_coordinates[:2])
x,y = rgb_image[:2]
print(s_img.shape)
x = 221
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateVentasTable extends Migration
{
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// CHECK: ]
// CHECK-LABEL: define hidden void @_TF34witness_table_objc_associated_type32witnessOffsetAfterAssociatedTypeuRxS_1BrFxT_(%swift.opaque* noalias nocapture, %swift.type* %T, i8** %T.B, %swift.type* %T.AA, i8** %T.AA.A)
func witnessOffsetAfterAssociatedType<T: B>(x: T) {
// CHECK: [[FOO_ADDR:%.*]] = getelementptr inbounds i8*, i8** %T.B, i32 2
// CHECK: [[FOO_OPAQUE:%.*]] = load {{.*}} [[FOO_ADDR]]
// CHECK: [[FOO:%.*]] = bitcast {{.*}} [[FOO_OPAQUE]]
// CHECK: call void [[FOO]]
x.foo()
| ise-uiuc/Magicoder-OSS-Instruct-75K |
app_name = 'accounts'
urlpatterns = [
path('', include('django.contrib.auth.urls')),
| ise-uiuc/Magicoder-OSS-Instruct-75K |
dispatch?()
}
}
dispatch?()
return disposable
}
}
/// Create a signal that flattens events from the given signals into a single sequence of events.
///
/// - Parameter signals: A sequence of signals whose elements should be propageted as own elements.
| ise-uiuc/Magicoder-OSS-Instruct-75K |
{
$result = $result['result'];
$user_id = $result['user_context'];
}
return $user_id;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class ServiceRequestHistory(models.Model):
service_request = models.ForeignKey(ServiceRequest)
contact_name = models.CharField(max_length=64, blank=True, null=True)
contact_phone = models.CharField(max_length=16, blank=True, null=True)
contact_email = models.CharField(max_length=128, blank=True, null=True,
help_text='You can list multiple emails, separated by semicolons.')
# operator defaults to business name
operator = models.CharField(max_length=64)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
//mod rlpf;
pub use filter::{Filter, FilterData, FilterType};
| ise-uiuc/Magicoder-OSS-Instruct-75K |
data.smoking_status = smoking_status(ccda)
data.vitals = vitals(ccda)
return data | ise-uiuc/Magicoder-OSS-Instruct-75K |
public void setBillsDueOnOrBefore(long billsDueOnOrBefore) {
this.billsDueOnOrBefore = billsDueOnOrBefore;
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
casa2=Casa(interfaz_cristal2(ventana_norte,2),interfaz_cristal2(ventana_este,3.5),interfaz_cristal2(ventana_oeste,2),interfaz_cristal2(pared_sur,2))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mesh = Mesh.from_ply(compas.get('stanford_dragon.ply'))
compas_rhino.mesh_draw(mesh)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pub use encode::Encode;
pub use error::*;
pub use frame::Framer;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
from sklearn.dummy import DummyClassifier
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Creates a new trigger for entries when updated.
:param table_key: The name of the entry in the
SmartDashboard NetworkTable
:param default_value: The value the entry will
take if it doesn't already exist in the
SmartDashboard
| ise-uiuc/Magicoder-OSS-Instruct-75K |
public class TreeNode {
public var val: Int
public var left: TreeNode?
public var right: TreeNode?
public init(_ val: Int) {
self.val = val
| ise-uiuc/Magicoder-OSS-Instruct-75K |
mVertices[ 2 ].first = ( center + Vec3{ -one, one, -one });
mVertices[ 3 ].first = ( center + Vec3{ one, one, -one });
mVertices[ 4 ].first = ( center + Vec3{ -one, -one, one });
mVertices[ 5 ].first = ( center + Vec3{ one, -one, one });
mVertices[ 6 ].first = ( center + Vec3{ -one, one, one });
mVertices[ 7 ].first = ( center + Vec3{ one, one, one });
projectAllVertices(8);
const auto ulz0 = mVertices[0].second;
const auto urz0 = mVertices[1].second;
const auto llz0 = mVertices[2].second;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'''
Function to find alternate spellings for names. Recursively finds alts of alts.
'''
for group in ALT_GROUPS:
for unit in group:
sub = '(' + '|'.join([ u for u in group if u != unit ]) + ')'
alt = re.sub(sub, unit, name)
if (alt != name) and (alt in lower_names) and (alt not in checked) and (alt not in alts):
alts.append(alt)
checked.append(name)
if len(alts) == 0:
return checked
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Linq;
using System.Threading.Tasks;
namespace EdVision.WebApi.Model
{
public partial class Grade {
public int Id { get; set; }
public int Value { get; set; }
public string Comment { get; set; }
public virtual Person GradingPerson { get; set; }
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for loader in settings.TEMPLATE_LOADERS:
loader_instance = find_template_loader(loader)
if not loader_instance:
continue
for basepath in loader_instance.get_template_sources('.'):
path = os.path.join(basepath, 'content', 'template')
try:
templates = os.listdir(path)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
TCP_EVENT.TCP_EVENT_RTO: FLOW_STATES.UPDATE,
TCP_EVENT.TCP_EVENT_DONE: FLOW_STATES.FINISHED,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
#[cfg(target_arch = "wasm32")]
{
wasm::get_clipboard()
}
#[cfg(not(target_arch = "wasm32"))]
{
use copypasta::{ClipboardContext, ClipboardProvider};
let res: Result<String, ()> = (|| {
let mut provider = ClipboardContext::new().map_err(|_| ())?;
provider.get_contents().map_err(|_| ())
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use Anomaly\Streams\Platform\Entry\EntryCriteria;
class ContactCriteria extends EntryCriteria
{
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<article className="flex flex-col items-start justify-center w-full max-w-2xl mx-auto mb-16">
<h1 className="mb-4 text-3xl font-bold tracking-tight md:text-5xl text-white">
{post.title}
</h1>
<div className="flex flex-col items-start justify-between w-full mt-2 md:flex-row md:items-center">
<div className="flex items-center">
<Image
alt="<NAME>"
height={24}
width={24}
src="/avatar.jpeg"
className="rounded-full"
/>
<p className="ml-2 text-sm text-gray-200">
{'<NAME> / '}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
long in_rollback_pos = reader.BaseStream.Position;
long out_rollback_len = mOut.Length;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// Offset: 0x14D9D9C
| ise-uiuc/Magicoder-OSS-Instruct-75K |
random_pet = random.RandomPet("random_pet", prefix="doggo")
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return np.vstack([sort_sentiment(out) for out in result])
def format_output(result: Union[List[AnalyzerOutput], AnalyzerOutput]) -> np.ndarray:
try:
return sort_sentiment(result)
except AttributeError:
return list_to_arr(result)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
private bool _hashComputed;
private int _hashCode;
private string _targetName;
private string _memberDocId;
private string _typeDocId;
/// <summary>
/// Gets or sets the assembly in which the member is defined.
/// </summary>
public string DefinedInAssemblyIdentity
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for client in client1 client2 client3 client4; do
rm -f clients/${client}.csr clients/${client}.crt clients/${client}.key
certstrap --depot-path clients request-cert --domain ${client} --passphrase ''
certstrap --depot-path clients sign --years 30 --CA ../CA/cacert ${client}
rm -f clients/${client}.csr
git add clients/${client}.crt clients/${client}.key
done | ise-uiuc/Magicoder-OSS-Instruct-75K |
public async loadById(id: number): Promise<UserOutputType> {
const userFound = await this.usersRepo.loadById(id);
if (!userFound) {
throw new NotFoundException('user not found.');
}
return userTransformer(userFound);
}
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
async def run(self, service):
await service.execute('nmap {nmap_extra} -sV -p {port} --script="banner,(oracle* or ssl*) and not (brute or broadcast or dos or external or fuzzer)" -oN "{scandir}/{protocol}_{port}_oracle_nmap.txt" -oX "{scandir}/xml/{protocol}_{port}_oracle_nmap.xml" {address}')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"timely_beliefs.sources",
"timely_beliefs.examples",
"timely_beliefs.visualization",
],
include_package_data=True,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Information Analysis",
| ise-uiuc/Magicoder-OSS-Instruct-75K |
"""
import setuptools
| ise-uiuc/Magicoder-OSS-Instruct-75K |
msg = "Given freq M does not match PeriodIndex freq B"
with pytest.raises(ValueError, match=msg):
ps.tshift(freq="M")
# DatetimeIndex
shifted = datetime_frame.tshift(1)
unshifted = shifted.tshift(-1)
tm.assert_frame_equal(datetime_frame, unshifted)
shifted2 = datetime_frame.tshift(freq=datetime_frame.index.freq)
tm.assert_frame_equal(shifted, shifted2)
inferred_ts = DataFrame(
datetime_frame.values,
| ise-uiuc/Magicoder-OSS-Instruct-75K |
def character(search):
search_url = join(ROOT_URL, 'character', str(search))
response = requests.get(search_url, headers=HEADERS)
if response.status_code != 200:
raise ConnectionError('API endpoint returned status '
+ str(response.status_code))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
op.drop_constraint(None, 'run', type_='unique')
op.drop_constraint(None, 'publication', type_='unique')
| ise-uiuc/Magicoder-OSS-Instruct-75K |
set -e
./.github/test.sh
go tool cover -html=coverage.txt | ise-uiuc/Magicoder-OSS-Instruct-75K |
# unset AWS_ACCESS_KEY_ID; unset AWS_SECRET_ACCESS_KEY; unset AWS_SESSION_TOKEN
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
STACK_PREFIX=$(cat ${DIR}/../conf.json|jq -r .stack_prefix)
ROLE_NAME=${STACK_PREFIX}-deployer
ACCOUNT_ID=$(aws sts get-caller-identity|jq -r .Account)
TEMP_ROLE=$(aws sts assume-role --role-arn arn:aws:iam::${ACCOUNT_ID}:role/${ROLE_NAME} --role-session-name cli)
echo export AWS_ACCESS_KEY_ID=$(echo $TEMP_ROLE | jq -r .Credentials.AccessKeyId)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}, {} as Sinks)
}
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'projectDescription'?: (string);
'publication'?: (_protolca_ProtoRef | null);
'geographyDescription'?: (string);
}
export interface ProtoProcessDocumentation__Output {
'timeDescription'?: (string);
'validUntil'?: (string);
'validFrom'?: (string);
'technologyDescription'?: (string);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
raise TypeError("Can only do in-place scaling for floating-point arrays")
values = np.subtract(values, float(vmin), out=out)
if (vmax - vmin) != 0:
np.true_divide(values, vmax - vmin, out=values)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
migrations.AlterField(
model_name='picstaff',
name='staff_pic',
field=models.ImageField(upload_to=picmodels.models.care_advisors.navigator_models.get_staff_pic_file_path, blank=True, null=True),
),
]
| ise-uiuc/Magicoder-OSS-Instruct-75K |
TypeError: 'builtin_function_or_method' object is not subscriptable
>>> one = [1,2,3,4]
>>> two = [7,6,5,4]
>>> three = ['y1', 'friends','fun']
>>> print (one + two)
[1, 2, 3, 4, 7, 6, 5, 4]
>>> print (one[3])
4
>>> one.remove(4)
>>> print(one)
[1, 2, 3]
>>> one.oppend(4)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
print(l[::-1])
n = ["aa", "bb", "cc", ]
print("-*-".join(n))
print("--".join([str(i) for i in l]))
| ise-uiuc/Magicoder-OSS-Instruct-75K |
options = dict(n=int, now=datetime)
jobs = ('source',)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
<reponame>bhhaskin/bryans.website
from allauth.account.adapter import DefaultAccountAdapter
class ClosedAccountAdapter(DefaultAccountAdapter):
def is_open_for_signup(self, request):
return False
| ise-uiuc/Magicoder-OSS-Instruct-75K |
'valor' => 'required|double|min:0',
'ong_id' => 'required'
];
public static $messages = [
| ise-uiuc/Magicoder-OSS-Instruct-75K |
Boolean,
)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
import { alpha, styled } from '@mui/material/styles';
import { Box, BoxProps } from '@mui/material';
// ----------------------------------------------------------------------
const RootStyle = styled('div')({
flexGrow: 1,
height: '100%',
overflow: 'hidden'
});
| ise-uiuc/Magicoder-OSS-Instruct-75K |
indices.append(term.subterms.index(term2))
return sign, term.symbol, tuple(indices)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
return nil
}
return URL(dataRepresentation: data, relativeTo: nil)
}
open func data<D: StorageData>(forKey key: StoreKey) -> D? {
| ise-uiuc/Magicoder-OSS-Instruct-75K |
}
offset += padding
self.__pad_count += 1
# Add the element
self.__fields[name] = {
"type": datatype,
"same_level": same_level,
"offset": offset,
}
# Check if end padding is required
| ise-uiuc/Magicoder-OSS-Instruct-75K |
using System.Diagnostics.Contracts;
using System.Linq;
using System.Runtime.InteropServices;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
pred = self.activation(logit)
loss = soft_dice_loss(pred, onehoted_gt,
ignore_label=self.ignore_label)
if reduction == 'mean':
loss = loss.mean()
elif reduction == 'none':
pass
else:
raise ValueError(f'Unrecognized reduction method ({reduction}).')
return loss
| ise-uiuc/Magicoder-OSS-Instruct-75K |
# Load all other settings
'base/*.py',
# Select the right env:
'environments/%s.py' % ENVIRONMENT,
optional('local/*.py'), # we can load any other settings from local folder
) | ise-uiuc/Magicoder-OSS-Instruct-75K |
delete table;
}
public:
LYHoldemTable *table;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
| ise-uiuc/Magicoder-OSS-Instruct-75K |
switch (Get(tags, "natural"))
{
case "wood": return OsmShapeCategory.Forest;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
fn fetch_instruction(&self, bus: &mut Bus) -> Instruction {
let code = bus.load(self.reg.PC);
Instruction::from_code(code)
}
fn fetch_operand(&self, bus: &mut Bus, mode: AddressingMode) -> Operand {
let addr = self.reg.PC + 1;
| ise-uiuc/Magicoder-OSS-Instruct-75K |
headers=None,
code=None,
):
super(GameballException, self).__init__(message)
self._message = message
self.http_body = http_body
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// return 1;
}
public static function check(){
$member = \Yii::$app->session->get('member');
if (Member::findOne(['id'=>$member['id']])->status !==1){
return false;
}
return true;
}
} | ise-uiuc/Magicoder-OSS-Instruct-75K |
public void onAdd(Host host) {
onUp(host);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
use RefreshDatabase, Install;
function testUninstall(){
$this->artisan("QS:uninstall");
| ise-uiuc/Magicoder-OSS-Instruct-75K |
self.assertEqual(err['errorCode'], exc.NoEligibleDevicesException.code)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
curl -S http://localhost:3000/$1 | stack exec blaze-from-html
| ise-uiuc/Magicoder-OSS-Instruct-75K |
</div>
<button type="submit" class="btn btn-warning">Crear</button>
</form>
@endsection | ise-uiuc/Magicoder-OSS-Instruct-75K |
INF = 10 ** 18
| ise-uiuc/Magicoder-OSS-Instruct-75K |
class SZoomAccountController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function supportZoomAcc()
{
$data['zoom_acc_info'] = EduZoomAccount_Support::valid()->first();
return view('support.zoomAccount.update', $data);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
words = line.split()
seq += ''.join(words[1:])
#print(len(seq))
count = 0
k = len(sys.argv[2])
| ise-uiuc/Magicoder-OSS-Instruct-75K |
entry_guess_list = [
f"title Boot Environment [{self.boot_environment}]\n",
f"linux /env/{self.new_entry}/vmlinuz-linux\n",
f"initrd /env/{self.new_entry}/initramfs-linux.img\n",
f"options zfs={self.be_root}/{self.boot_environment}\n"
]
config_matches = [en.split(".conf")[0] for en in config_entries
if en.split(".conf")[0] == (
self.old_entry or self.new_entry)]
old_conf = True if self.old_entry in config_matches else False
new_conf = True if self.new_entry in config_matches else False
| ise-uiuc/Magicoder-OSS-Instruct-75K |
result = cv2.addWeighted(src1=res1, alpha=1, src2=res2, beta=1, gamma=0)
cv2.imshow('res1', res1)
# cv2.imshow('ori', img)
# 이미지를 띄운다.
cv2.imshow('result', result)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
// 1. get position animator
float x = posAnim.getCurrentPosition().x;
float y = posAnim.getCurrentPosition().y;
// 2. get color animator
ofSetColor(colorAnim.getColorCurrent());
ofFill();
// big circle
ofDrawCircle(x, y, 100);
| ise-uiuc/Magicoder-OSS-Instruct-75K |
queue = sqs.create_queue(QueueName='requestQueue', Attributes={
'DelaySeconds': '0'
})
print(queue.url)
val = input("Enter your value: ")
response = queue.send_message(MessageBody=val)
time.sleep(30)
| ise-uiuc/Magicoder-OSS-Instruct-75K |
for new_state in random.sample(new_states, len(new_states)):
state.append(new_state)
if len(new_states) == 0:
reached_end += 1
b_next = True
print(draw_grid(grid))
| 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.